<!-- HTML header for doxygen 1.8.6-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta content="text/xhtml;charset=utf-8" http-equiv="Content-Type"/>
<meta content="IE=9" http-equiv="X-UA-Compatible"/>
<meta content="Doxygen 1.8.13" name="generator"/>
<title>OpenCV: cv::FileStorage Class Reference</title>
<link href="../../opencv.ico" rel="shortcut icon" type="image/x-icon"/>
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<script src="../../jquery.js" type="text/javascript"></script>
<script src="../../dynsections.js" type="text/javascript"></script>
<script src="../../tutorial-utils.js" type="text/javascript"></script>
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
<script src="../../search/searchdata.js" type="text/javascript"></script>
<script src="../../search/search.js" type="text/javascript"></script>
<script type="text/x-mathjax-config">
  MathJax.Hub.Config({
    extensions: ["tex2jax.js", "TeX/AMSmath.js", "TeX/AMSsymbols.js"],
    jax: ["input/TeX","output/HTML-CSS"],
});
//<![CDATA[
MathJax.Hub.Config(
{
  TeX: {
      Macros: {
          matTT: [ "\\[ \\left|\\begin{array}{ccc} #1 & #2 & #3\\\\ #4 & #5 & #6\\\\ #7 & #8 & #9 \\end{array}\\right| \\]", 9],
          fork: ["\\left\\{ \\begin{array}{l l} #1 & \\mbox{#2}\\\\ #3 & \\mbox{#4}\\\\ \\end{array} \\right.", 4],
          forkthree: ["\\left\\{ \\begin{array}{l l} #1 & \\mbox{#2}\\\\ #3 & \\mbox{#4}\\\\ #5 & \\mbox{#6}\\\\ \\end{array} \\right.", 6],
          forkfour: ["\\left\\{ \\begin{array}{l l} #1 & \\mbox{#2}\\\\ #3 & \\mbox{#4}\\\\ #5 & \\mbox{#6}\\\\ #7 & \\mbox{#8}\\\\ \\end{array} \\right.", 8],
          vecthree: ["\\begin{bmatrix} #1\\\\ #2\\\\ #3 \\end{bmatrix}", 3],
          vecthreethree: ["\\begin{bmatrix} #1 & #2 & #3\\\\ #4 & #5 & #6\\\\ #7 & #8 & #9 \\end{bmatrix}", 9],
          cameramatrix: ["#1 = \\begin{bmatrix} f_x & 0 & c_x\\\\ 0 & f_y & c_y\\\\ 0 & 0 & 1 \\end{bmatrix}", 1],
          distcoeffs: ["(k_1, k_2, p_1, p_2[, k_3[, k_4, k_5, k_6 [, s_1, s_2, s_3, s_4[, \\tau_x, \\tau_y]]]]) \\text{ of 4, 5, 8, 12 or 14 elements}"],
          distcoeffsfisheye: ["(k_1, k_2, k_3, k_4)"],
          hdotsfor: ["\\dots", 1],
          mathbbm: ["\\mathbb{#1}", 1],
          bordermatrix: ["\\matrix{#1}", 1]
      }
  }
}
);
//]]>
</script><script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.0/MathJax.js" type="text/javascript"></script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css"/>
<link href="../../stylesheet.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<!--#include virtual="/google-search.html"-->
<table cellpadding="0" cellspacing="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="../../opencv-logo-small.png"/></td>
  <td style="padding-left: 0.5em;">
   <div id="projectname">OpenCV
    <span id="projectnumber">4.5.2</span>
   </div>
   <div id="projectbrief">Open Source Computer Vision</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
</script>
<script src="../../menudata.js" type="text/javascript"></script>
<script src="../../menu.js" type="text/javascript"></script>
<script type="text/javascript">
$(function() {
  initMenu('../../',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow" onkeydown="return searchBox.OnSearchSelectKey(event)" onmouseout="return searchBox.OnSearchSelectHide()" onmouseover="return searchBox.OnSearchSelectShow()">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe frameborder="0" id="MSearchResults" name="MSearchResults" src="javascript:void(0)">
</iframe>
</div>
<div class="navpath" id="nav-path">
  <ul>
<li class="navelem"><a class="el" href="../../d2/d75/namespacecv.html">cv</a></li><li class="navelem"><a class="el" href="../../da/d56/classcv_1_1FileStorage.html">FileStorage</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-types">Public Types</a> |
<a href="#pub-methods">Public Member Functions</a> |
<a href="#pub-static-methods">Static Public Member Functions</a> |
<a href="#pub-attribs">Public Attributes</a> |
<a href="#related">Related Functions</a> |
<a href="../../d7/d9f/classcv_1_1FileStorage-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">cv::FileStorage Class Reference<div class="ingroups"><a class="el" href="../../d0/de1/group__core.html">Core functionality</a> » <a class="el" href="../../d4/da4/group__core__xml.html">XML/YAML Persistence</a></div></div>  </div>
</div><!--header-->
<div class="contents">
<p>XML/YAML/JSON file storage class that encapsulates all the information necessary for writing or reading data to/from a file.  
 <a href="../../da/d56/classcv_1_1FileStorage.html#details">More...</a></p>
<p><code>#include &lt;opencv2/core/persistence.hpp&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr class="memitem:a973e41cb75ef6230412a567723b7482d"><td align="right" class="memItemLeft" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="../../da/d56/classcv_1_1FileStorage.html#a973e41cb75ef6230412a567723b7482d">Mode</a> { <br/>
  <a class="el" href="../../da/d56/classcv_1_1FileStorage.html#a973e41cb75ef6230412a567723b7482daa0dcc459c4d100c35ccfa9a643827bed">READ</a> = 0, 
<br/>
  <a class="el" href="../../da/d56/classcv_1_1FileStorage.html#a973e41cb75ef6230412a567723b7482da747a241cefee7b8af34c3d804c864ad6">WRITE</a> = 1, 
<br/>
  <a class="el" href="../../da/d56/classcv_1_1FileStorage.html#a973e41cb75ef6230412a567723b7482da049591e6d1749b29bb206909c70b2470">APPEND</a> = 2, 
<br/>
  <a class="el" href="../../da/d56/classcv_1_1FileStorage.html#a973e41cb75ef6230412a567723b7482dabdde7670c9c7e472f8445932ea7cbbf7">MEMORY</a> = 4, 
<br/>
  <a class="el" href="../../da/d56/classcv_1_1FileStorage.html#a973e41cb75ef6230412a567723b7482dafa2bc69eece7e0210b59a0c7113d5b3e">FORMAT_MASK</a> = (7&lt;&lt;3), 
<br/>
  <a class="el" href="../../da/d56/classcv_1_1FileStorage.html#a973e41cb75ef6230412a567723b7482da5c1854b1f439d35644c7475791f3c47e">FORMAT_AUTO</a> = 0, 
<br/>
  <a class="el" href="../../da/d56/classcv_1_1FileStorage.html#a973e41cb75ef6230412a567723b7482da753a7b441d2876fa8a77009472108356">FORMAT_XML</a> = (1&lt;&lt;3), 
<br/>
  <a class="el" href="../../da/d56/classcv_1_1FileStorage.html#a973e41cb75ef6230412a567723b7482da63e7a7dcb2d68359210dc5fc8c83e92d">FORMAT_YAML</a> = (2&lt;&lt;3), 
<br/>
  <a class="el" href="../../da/d56/classcv_1_1FileStorage.html#a973e41cb75ef6230412a567723b7482da65cebec1331fd20338511b2f5f31efe4">FORMAT_JSON</a> = (3&lt;&lt;3), 
<br/>
  <a class="el" href="../../da/d56/classcv_1_1FileStorage.html#a973e41cb75ef6230412a567723b7482daef5eb4ad351f31273667949b65e4e6c2">BASE64</a> = 64, 
<br/>
  <a class="el" href="../../da/d56/classcv_1_1FileStorage.html#a973e41cb75ef6230412a567723b7482da74cdcbdb96c29f19e3ccc2ba4ab81614">WRITE_BASE64</a> = BASE64 | WRITE
<br/>
 }<tr class="memdesc:a973e41cb75ef6230412a567723b7482d"><td class="mdescLeft"> </td><td class="mdescRight">file storage mode  <a href="../../da/d56/classcv_1_1FileStorage.html#a973e41cb75ef6230412a567723b7482d">More...</a><br/></td></tr>
</td></tr>
<tr class="separator:a973e41cb75ef6230412a567723b7482d"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ab25ab28a95a47dd9cd9e26e71398dd3f"><td align="right" class="memItemLeft" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="../../da/d56/classcv_1_1FileStorage.html#ab25ab28a95a47dd9cd9e26e71398dd3f">State</a> { <br/>
  <a class="el" href="../../da/d56/classcv_1_1FileStorage.html#ab25ab28a95a47dd9cd9e26e71398dd3fa3e7f9ab4d3076f3fd61612e8b171930c">UNDEFINED</a> = 0, 
<br/>
  <a class="el" href="../../da/d56/classcv_1_1FileStorage.html#ab25ab28a95a47dd9cd9e26e71398dd3fa11b72f7c235089aebd2abdd72c0f7be9">VALUE_EXPECTED</a> = 1, 
<br/>
  <a class="el" href="../../da/d56/classcv_1_1FileStorage.html#ab25ab28a95a47dd9cd9e26e71398dd3faa3546928fd78831aca18525dc8cc472e">NAME_EXPECTED</a> = 2, 
<br/>
  <a class="el" href="../../da/d56/classcv_1_1FileStorage.html#ab25ab28a95a47dd9cd9e26e71398dd3fa5f72e3ef09a40bb337ce1729a5df2767">INSIDE_MAP</a> = 4
<br/>
 }</td></tr>
<tr class="separator:ab25ab28a95a47dd9cd9e26e71398dd3f"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a29bcb12ede10d87a0fcbf89a88b092af"><td align="right" class="memItemLeft" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="../../da/d56/classcv_1_1FileStorage.html#a29bcb12ede10d87a0fcbf89a88b092af">FileStorage</a> ()</td></tr>
<tr class="memdesc:a29bcb12ede10d87a0fcbf89a88b092af"><td class="mdescLeft"> </td><td class="mdescRight">The constructors.  <a href="#a29bcb12ede10d87a0fcbf89a88b092af">More...</a><br/></td></tr>
<tr class="separator:a29bcb12ede10d87a0fcbf89a88b092af"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a587b4f5793a894fbe245e95cb30d6bc7"><td align="right" class="memItemLeft" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="../../da/d56/classcv_1_1FileStorage.html#a587b4f5793a894fbe245e95cb30d6bc7">FileStorage</a> (const <a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">String</a> &amp;filename, int flags, const <a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">String</a> &amp;encoding=<a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">String</a>())</td></tr>
<tr class="memdesc:a587b4f5793a894fbe245e95cb30d6bc7"><td class="mdescLeft"> </td><td class="mdescRight">Opens a file.  <a href="#a587b4f5793a894fbe245e95cb30d6bc7">More...</a><br/></td></tr>
<tr class="separator:a587b4f5793a894fbe245e95cb30d6bc7"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a5f0353317a382eb7154e85fec2f419ca"><td align="right" class="memItemLeft" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="../../da/d56/classcv_1_1FileStorage.html#a5f0353317a382eb7154e85fec2f419ca">~FileStorage</a> ()</td></tr>
<tr class="memdesc:a5f0353317a382eb7154e85fec2f419ca"><td class="mdescLeft"> </td><td class="mdescRight">the destructor. calls <a class="el" href="../../da/d56/classcv_1_1FileStorage.html#ad23d5415a06fb4bc97bfa034589b376e" title="Closes the file and releases all the memory buffers. ">release()</a>  <a href="#a5f0353317a382eb7154e85fec2f419ca">More...</a><br/></td></tr>
<tr class="separator:a5f0353317a382eb7154e85fec2f419ca"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ab57944e5c8dacfa7866c70c4ceaaab7b"><td align="right" class="memItemLeft" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../da/d56/classcv_1_1FileStorage.html#ab57944e5c8dacfa7866c70c4ceaaab7b">endWriteStruct</a> ()</td></tr>
<tr class="memdesc:ab57944e5c8dacfa7866c70c4ceaaab7b"><td class="mdescLeft"> </td><td class="mdescRight">Finishes writing nested structure (should pair <a class="el" href="../../da/d56/classcv_1_1FileStorage.html#a56bf0823a4e606c018db8999a8edc7b4" title="Starts to write a nested structure (sequence or a mapping). ">startWriteStruct()</a>)  <a href="#ab57944e5c8dacfa7866c70c4ceaaab7b">More...</a><br/></td></tr>
<tr class="separator:ab57944e5c8dacfa7866c70c4ceaaab7b"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a7153604af73ca7de43b977eedd1bbe09"><td align="right" class="memItemLeft" valign="top"><a class="el" href="../../de/dd9/classcv_1_1FileNode.html">FileNode</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="../../da/d56/classcv_1_1FileStorage.html#a7153604af73ca7de43b977eedd1bbe09">getFirstTopLevelNode</a> () const</td></tr>
<tr class="memdesc:a7153604af73ca7de43b977eedd1bbe09"><td class="mdescLeft"> </td><td class="mdescRight">Returns the first element of the top-level mapping.  <a href="#a7153604af73ca7de43b977eedd1bbe09">More...</a><br/></td></tr>
<tr class="separator:a7153604af73ca7de43b977eedd1bbe09"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:abe9afb62d2a806f690bba662b1ef8d49"><td align="right" class="memItemLeft" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../da/d56/classcv_1_1FileStorage.html#abe9afb62d2a806f690bba662b1ef8d49">getFormat</a> () const</td></tr>
<tr class="memdesc:abe9afb62d2a806f690bba662b1ef8d49"><td class="mdescLeft"> </td><td class="mdescRight">Returns the current format.  <a href="#abe9afb62d2a806f690bba662b1ef8d49">More...</a><br/></td></tr>
<tr class="separator:abe9afb62d2a806f690bba662b1ef8d49"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aa952c31f4e632595cd5ac107913f4fd1"><td align="right" class="memItemLeft" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="../../da/d56/classcv_1_1FileStorage.html#aa952c31f4e632595cd5ac107913f4fd1">isOpened</a> () const</td></tr>
<tr class="memdesc:aa952c31f4e632595cd5ac107913f4fd1"><td class="mdescLeft"> </td><td class="mdescRight">Checks whether the file is opened.  <a href="#aa952c31f4e632595cd5ac107913f4fd1">More...</a><br/></td></tr>
<tr class="separator:aa952c31f4e632595cd5ac107913f4fd1"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a14c2c18dc2e29999d03d52a0c24bd91c"><td align="right" class="memItemLeft" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="../../da/d56/classcv_1_1FileStorage.html#a14c2c18dc2e29999d03d52a0c24bd91c">open</a> (const <a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">String</a> &amp;filename, int flags, const <a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">String</a> &amp;encoding=<a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">String</a>())</td></tr>
<tr class="memdesc:a14c2c18dc2e29999d03d52a0c24bd91c"><td class="mdescLeft"> </td><td class="mdescRight">Opens a file.  <a href="#a14c2c18dc2e29999d03d52a0c24bd91c">More...</a><br/></td></tr>
<tr class="separator:a14c2c18dc2e29999d03d52a0c24bd91c"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:adc7eff268ab95c664657a03e72ed85a5"><td align="right" class="memItemLeft" valign="top"><a class="el" href="../../de/dd9/classcv_1_1FileNode.html">FileNode</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="../../da/d56/classcv_1_1FileStorage.html#adc7eff268ab95c664657a03e72ed85a5">operator[]</a> (const <a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">String</a> &amp;nodename) const</td></tr>
<tr class="memdesc:adc7eff268ab95c664657a03e72ed85a5"><td class="mdescLeft"> </td><td class="mdescRight">Returns the specified element of the top-level mapping.  <a href="#adc7eff268ab95c664657a03e72ed85a5">More...</a><br/></td></tr>
<tr class="separator:adc7eff268ab95c664657a03e72ed85a5"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a532f6a27dd57d0f640c6a5a9acddac88"><td align="right" class="memItemLeft" valign="top"><a class="el" href="../../de/dd9/classcv_1_1FileNode.html">FileNode</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="../../da/d56/classcv_1_1FileStorage.html#a532f6a27dd57d0f640c6a5a9acddac88">operator[]</a> (const char *nodename) const</td></tr>
<tr class="separator:a532f6a27dd57d0f640c6a5a9acddac88"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ad23d5415a06fb4bc97bfa034589b376e"><td align="right" class="memItemLeft" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../da/d56/classcv_1_1FileStorage.html#ad23d5415a06fb4bc97bfa034589b376e">release</a> ()</td></tr>
<tr class="memdesc:ad23d5415a06fb4bc97bfa034589b376e"><td class="mdescLeft"> </td><td class="mdescRight">Closes the file and releases all the memory buffers.  <a href="#ad23d5415a06fb4bc97bfa034589b376e">More...</a><br/></td></tr>
<tr class="separator:ad23d5415a06fb4bc97bfa034589b376e"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a5341a9e09e1b797faf6b7ec40bd558fd"><td align="right" class="memItemLeft" valign="top">virtual <a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">String</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="../../da/d56/classcv_1_1FileStorage.html#a5341a9e09e1b797faf6b7ec40bd558fd">releaseAndGetString</a> ()</td></tr>
<tr class="memdesc:a5341a9e09e1b797faf6b7ec40bd558fd"><td class="mdescLeft"> </td><td class="mdescRight">Closes the file and releases all the memory buffers.  <a href="#a5341a9e09e1b797faf6b7ec40bd558fd">More...</a><br/></td></tr>
<tr class="separator:a5341a9e09e1b797faf6b7ec40bd558fd"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a504146889949abfe445f87beab4204fd"><td align="right" class="memItemLeft" valign="top"><a class="el" href="../../de/dd9/classcv_1_1FileNode.html">FileNode</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="../../da/d56/classcv_1_1FileStorage.html#a504146889949abfe445f87beab4204fd">root</a> (int streamidx=0) const</td></tr>
<tr class="memdesc:a504146889949abfe445f87beab4204fd"><td class="mdescLeft"> </td><td class="mdescRight">Returns the top-level mapping.  <a href="#a504146889949abfe445f87beab4204fd">More...</a><br/></td></tr>
<tr class="separator:a504146889949abfe445f87beab4204fd"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a56bf0823a4e606c018db8999a8edc7b4"><td align="right" class="memItemLeft" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../da/d56/classcv_1_1FileStorage.html#a56bf0823a4e606c018db8999a8edc7b4">startWriteStruct</a> (const <a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">String</a> &amp;name, int flags, const <a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">String</a> &amp;typeName=<a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">String</a>())</td></tr>
<tr class="memdesc:a56bf0823a4e606c018db8999a8edc7b4"><td class="mdescLeft"> </td><td class="mdescRight">Starts to write a nested structure (sequence or a mapping).  <a href="#a56bf0823a4e606c018db8999a8edc7b4">More...</a><br/></td></tr>
<tr class="separator:a56bf0823a4e606c018db8999a8edc7b4"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a3efd38c576bac8b66281826f0a2642e7"><td align="right" class="memItemLeft" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../da/d56/classcv_1_1FileStorage.html#a3efd38c576bac8b66281826f0a2642e7">write</a> (const <a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">String</a> &amp;name, int val)</td></tr>
<tr class="memdesc:a3efd38c576bac8b66281826f0a2642e7"><td class="mdescLeft"> </td><td class="mdescRight">Simplified writing API to use with bindings.  <a href="#a3efd38c576bac8b66281826f0a2642e7">More...</a><br/></td></tr>
<tr class="separator:a3efd38c576bac8b66281826f0a2642e7"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:af9597d58d64dff5cc998344bc4b1c1f0"><td align="right" class="memItemLeft" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../da/d56/classcv_1_1FileStorage.html#af9597d58d64dff5cc998344bc4b1c1f0">write</a> (const <a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">String</a> &amp;name, double val)</td></tr>
<tr class="separator:af9597d58d64dff5cc998344bc4b1c1f0"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a0466680193c966dbeef4e508aebfe8aa"><td align="right" class="memItemLeft" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../da/d56/classcv_1_1FileStorage.html#a0466680193c966dbeef4e508aebfe8aa">write</a> (const <a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">String</a> &amp;name, const <a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">String</a> &amp;val)</td></tr>
<tr class="separator:a0466680193c966dbeef4e508aebfe8aa"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a5335e0f3caa5d44d79edcafcbc0091d8"><td align="right" class="memItemLeft" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../da/d56/classcv_1_1FileStorage.html#a5335e0f3caa5d44d79edcafcbc0091d8">write</a> (const <a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">String</a> &amp;name, const <a class="el" href="../../d3/d63/classcv_1_1Mat.html">Mat</a> &amp;val)</td></tr>
<tr class="separator:a5335e0f3caa5d44d79edcafcbc0091d8"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a9d9ee20427f73c94ee89ce893831614a"><td align="right" class="memItemLeft" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../da/d56/classcv_1_1FileStorage.html#a9d9ee20427f73c94ee89ce893831614a">write</a> (const <a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">String</a> &amp;name, const std::vector&lt; <a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">String</a> &gt; &amp;val)</td></tr>
<tr class="separator:a9d9ee20427f73c94ee89ce893831614a"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a143eb62cf2c063095c005c0ac77a8823"><td align="right" class="memItemLeft" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../da/d56/classcv_1_1FileStorage.html#a143eb62cf2c063095c005c0ac77a8823">writeComment</a> (const <a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">String</a> &amp;comment, bool append=false)</td></tr>
<tr class="memdesc:a143eb62cf2c063095c005c0ac77a8823"><td class="mdescLeft"> </td><td class="mdescRight">Writes a comment.  <a href="#a143eb62cf2c063095c005c0ac77a8823">More...</a><br/></td></tr>
<tr class="separator:a143eb62cf2c063095c005c0ac77a8823"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a513583eecda2e5e3c3b26e328448c123"><td align="right" class="memItemLeft" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../da/d56/classcv_1_1FileStorage.html#a513583eecda2e5e3c3b26e328448c123">writeRaw</a> (const <a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">String</a> &amp;fmt, const void *vec, size_t len)</td></tr>
<tr class="memdesc:a513583eecda2e5e3c3b26e328448c123"><td class="mdescLeft"> </td><td class="mdescRight">Writes multiple numbers.  <a href="#a513583eecda2e5e3c3b26e328448c123">More...</a><br/></td></tr>
<tr class="separator:a513583eecda2e5e3c3b26e328448c123"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:ac49dded8d2d452a65bfc5fb3e3b96ec8"><td align="right" class="memItemLeft" valign="top">static <a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">String</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="../../da/d56/classcv_1_1FileStorage.html#ac49dded8d2d452a65bfc5fb3e3b96ec8">getDefaultObjectName</a> (const <a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">String</a> &amp;filename)</td></tr>
<tr class="memdesc:ac49dded8d2d452a65bfc5fb3e3b96ec8"><td class="mdescLeft"> </td><td class="mdescRight">Returns the normalized object name for the specified name of a file.  <a href="#ac49dded8d2d452a65bfc5fb3e3b96ec8">More...</a><br/></td></tr>
<tr class="separator:ac49dded8d2d452a65bfc5fb3e3b96ec8"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr class="memitem:ae2c1bb9453394d0c8a5f07514eccf94b"><td align="right" class="memItemLeft" valign="top">std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="../../da/d56/classcv_1_1FileStorage.html#ae2c1bb9453394d0c8a5f07514eccf94b">elname</a></td></tr>
<tr class="separator:ae2c1bb9453394d0c8a5f07514eccf94b"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:af263d52c8a81f77e839385e1f6ec1e41"><td align="right" class="memItemLeft" valign="top"><a class="el" href="../../dc/d84/group__core__basic.html#ga6395ca871a678020c4a31fadf7e8cc63">Ptr</a>&lt; Impl &gt; </td><td class="memItemRight" valign="bottom"><a class="el" href="../../da/d56/classcv_1_1FileStorage.html#af263d52c8a81f77e839385e1f6ec1e41">p</a></td></tr>
<tr class="separator:af263d52c8a81f77e839385e1f6ec1e41"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aa53ac52fa536aeabba795a2164a11337"><td align="right" class="memItemLeft" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../da/d56/classcv_1_1FileStorage.html#aa53ac52fa536aeabba795a2164a11337">state</a></td></tr>
<tr class="separator:aa53ac52fa536aeabba795a2164a11337"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="related"></a>
Related Functions</h2></td></tr>
<tr><td class="ititle" colspan="2"><p>(Note that these are not member functions.) </p>
</td></tr>
<tr class="memitem:a5d64e1a22e8e659de99a027f66bf26bc"><td align="right" class="memItemLeft" valign="top"><a class="el" href="../../da/d56/classcv_1_1FileStorage.html">FileStorage</a> &amp; </td><td class="memItemRight" valign="bottom"><a class="el" href="../../da/d56/classcv_1_1FileStorage.html#a5d64e1a22e8e659de99a027f66bf26bc">operator&lt;&lt;</a> (<a class="el" href="../../da/d56/classcv_1_1FileStorage.html">FileStorage</a> &amp;fs, const <a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">String</a> &amp;str)</td></tr>
<tr class="memdesc:a5d64e1a22e8e659de99a027f66bf26bc"><td class="mdescLeft"> </td><td class="mdescRight">Writes string to a file storage.  <a href="#a5d64e1a22e8e659de99a027f66bf26bc">More...</a><br/></td></tr>
<tr class="separator:a5d64e1a22e8e659de99a027f66bf26bc"><td class="memSeparator" colspan="2"> </td></tr>
<tr><td colspan="2"><div class="groupHeader"></div></td></tr>
<tr class="memitem:a26447446dd3fa0644684a045e16399fe"><td align="right" class="memItemLeft" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../da/d56/classcv_1_1FileStorage.html#a26447446dd3fa0644684a045e16399fe">write</a> (<a class="el" href="../../da/d56/classcv_1_1FileStorage.html">FileStorage</a> &amp;fs, const <a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">String</a> &amp;name, int value)</td></tr>
<tr class="separator:a26447446dd3fa0644684a045e16399fe"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aebc12a5356bcba8393d9f1fbf901065b"><td align="right" class="memItemLeft" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../da/d56/classcv_1_1FileStorage.html#aebc12a5356bcba8393d9f1fbf901065b">write</a> (<a class="el" href="../../da/d56/classcv_1_1FileStorage.html">FileStorage</a> &amp;fs, const <a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">String</a> &amp;name, float value)</td></tr>
<tr class="separator:aebc12a5356bcba8393d9f1fbf901065b"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a598e853f2001864e2c709d7726ad29b7"><td align="right" class="memItemLeft" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../da/d56/classcv_1_1FileStorage.html#a598e853f2001864e2c709d7726ad29b7">write</a> (<a class="el" href="../../da/d56/classcv_1_1FileStorage.html">FileStorage</a> &amp;fs, const <a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">String</a> &amp;name, double value)</td></tr>
<tr class="separator:a598e853f2001864e2c709d7726ad29b7"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a63a75e0be408d41f9dea527a1c960286"><td align="right" class="memItemLeft" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../da/d56/classcv_1_1FileStorage.html#a63a75e0be408d41f9dea527a1c960286">write</a> (<a class="el" href="../../da/d56/classcv_1_1FileStorage.html">FileStorage</a> &amp;fs, const <a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">String</a> &amp;name, const <a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">String</a> &amp;value)</td></tr>
<tr class="separator:a63a75e0be408d41f9dea527a1c960286"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a403766cfd06a4c7fc56f3a6187fabc35"><td align="right" class="memItemLeft" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../da/d56/classcv_1_1FileStorage.html#a403766cfd06a4c7fc56f3a6187fabc35">write</a> (<a class="el" href="../../da/d56/classcv_1_1FileStorage.html">FileStorage</a> &amp;fs, const <a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">String</a> &amp;name, const <a class="el" href="../../d3/d63/classcv_1_1Mat.html">Mat</a> &amp;value)</td></tr>
<tr class="separator:a403766cfd06a4c7fc56f3a6187fabc35"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a9d8021889a9984dee8c7913fde569cff"><td align="right" class="memItemLeft" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../da/d56/classcv_1_1FileStorage.html#a9d8021889a9984dee8c7913fde569cff">write</a> (<a class="el" href="../../da/d56/classcv_1_1FileStorage.html">FileStorage</a> &amp;fs, const <a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">String</a> &amp;name, const <a class="el" href="../../dd/da9/classcv_1_1SparseMat.html">SparseMat</a> &amp;value)</td></tr>
<tr class="separator:a9d8021889a9984dee8c7913fde569cff"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ae8c1ed7775a9692dd5a04e7b9c257332"><td align="right" class="memItemLeft" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../da/d56/classcv_1_1FileStorage.html#ae8c1ed7775a9692dd5a04e7b9c257332">writeScalar</a> (<a class="el" href="../../da/d56/classcv_1_1FileStorage.html">FileStorage</a> &amp;fs, int value)</td></tr>
<tr class="separator:ae8c1ed7775a9692dd5a04e7b9c257332"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ad3dab4054c2a10a45238fd10d11f280e"><td align="right" class="memItemLeft" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../da/d56/classcv_1_1FileStorage.html#ad3dab4054c2a10a45238fd10d11f280e">writeScalar</a> (<a class="el" href="../../da/d56/classcv_1_1FileStorage.html">FileStorage</a> &amp;fs, float value)</td></tr>
<tr class="separator:ad3dab4054c2a10a45238fd10d11f280e"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ac4ec3e0ff8321cd7a2b312e275d1b7ba"><td align="right" class="memItemLeft" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../da/d56/classcv_1_1FileStorage.html#ac4ec3e0ff8321cd7a2b312e275d1b7ba">writeScalar</a> (<a class="el" href="../../da/d56/classcv_1_1FileStorage.html">FileStorage</a> &amp;fs, double value)</td></tr>
<tr class="separator:ac4ec3e0ff8321cd7a2b312e275d1b7ba"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a2a8da1ead8d174f9244b5e8593ebd1d8"><td align="right" class="memItemLeft" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../da/d56/classcv_1_1FileStorage.html#a2a8da1ead8d174f9244b5e8593ebd1d8">writeScalar</a> (<a class="el" href="../../da/d56/classcv_1_1FileStorage.html">FileStorage</a> &amp;fs, const <a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">String</a> &amp;value)</td></tr>
<tr class="separator:a2a8da1ead8d174f9244b5e8593ebd1d8"><td class="memSeparator" colspan="2"> </td></tr>
<tr><td colspan="2"><div class="groupHeader"></div></td></tr>
<tr class="memitem:a24430b807ccd2cf002058961cd2e3263"><td class="memTemplParams" colspan="2">template&lt;typename _Tp &gt; </td></tr>
<tr class="memitem:a24430b807ccd2cf002058961cd2e3263"><td align="right" class="memTemplItemLeft" valign="top">static void </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="../../da/d56/classcv_1_1FileStorage.html#a24430b807ccd2cf002058961cd2e3263">write</a> (<a class="el" href="../../da/d56/classcv_1_1FileStorage.html">FileStorage</a> &amp;fs, const _Tp &amp;value)</td></tr>
<tr class="separator:a24430b807ccd2cf002058961cd2e3263"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a9588e05768869430821699ae6b1eb28d"><td class="memTemplParams" colspan="2">template&lt;&gt; </td></tr>
<tr class="memitem:a9588e05768869430821699ae6b1eb28d"><td align="right" class="memTemplItemLeft" valign="top">void </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="../../da/d56/classcv_1_1FileStorage.html#a9588e05768869430821699ae6b1eb28d">write</a> (<a class="el" href="../../da/d56/classcv_1_1FileStorage.html">FileStorage</a> &amp;fs, const int &amp;value)</td></tr>
<tr class="separator:a9588e05768869430821699ae6b1eb28d"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ac229241c6dd16bb343de5aeee197db03"><td class="memTemplParams" colspan="2">template&lt;&gt; </td></tr>
<tr class="memitem:ac229241c6dd16bb343de5aeee197db03"><td align="right" class="memTemplItemLeft" valign="top">void </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="../../da/d56/classcv_1_1FileStorage.html#ac229241c6dd16bb343de5aeee197db03">write</a> (<a class="el" href="../../da/d56/classcv_1_1FileStorage.html">FileStorage</a> &amp;fs, const float &amp;value)</td></tr>
<tr class="separator:ac229241c6dd16bb343de5aeee197db03"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aa0e3cc864beb06182c8c2826a8d0cdb8"><td class="memTemplParams" colspan="2">template&lt;&gt; </td></tr>
<tr class="memitem:aa0e3cc864beb06182c8c2826a8d0cdb8"><td align="right" class="memTemplItemLeft" valign="top">void </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="../../da/d56/classcv_1_1FileStorage.html#aa0e3cc864beb06182c8c2826a8d0cdb8">write</a> (<a class="el" href="../../da/d56/classcv_1_1FileStorage.html">FileStorage</a> &amp;fs, const double &amp;value)</td></tr>
<tr class="separator:aa0e3cc864beb06182c8c2826a8d0cdb8"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a058d1227fa81fbf9ffc926d1a2485f3d"><td class="memTemplParams" colspan="2">template&lt;&gt; </td></tr>
<tr class="memitem:a058d1227fa81fbf9ffc926d1a2485f3d"><td align="right" class="memTemplItemLeft" valign="top">void </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="../../da/d56/classcv_1_1FileStorage.html#a058d1227fa81fbf9ffc926d1a2485f3d">write</a> (<a class="el" href="../../da/d56/classcv_1_1FileStorage.html">FileStorage</a> &amp;fs, const <a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">String</a> &amp;value)</td></tr>
<tr class="separator:a058d1227fa81fbf9ffc926d1a2485f3d"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aa627e4c875c46d7830fb6d0ac1431e00"><td class="memTemplParams" colspan="2">template&lt;typename _Tp &gt; </td></tr>
<tr class="memitem:aa627e4c875c46d7830fb6d0ac1431e00"><td align="right" class="memTemplItemLeft" valign="top">static void </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="../../da/d56/classcv_1_1FileStorage.html#aa627e4c875c46d7830fb6d0ac1431e00">write</a> (<a class="el" href="../../da/d56/classcv_1_1FileStorage.html">FileStorage</a> &amp;fs, const <a class="el" href="../../db/d4e/classcv_1_1Point__.html">Point_</a>&lt; _Tp &gt; &amp;pt)</td></tr>
<tr class="separator:aa627e4c875c46d7830fb6d0ac1431e00"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ad2ecdf5485d88536eb7c97662a428a4e"><td class="memTemplParams" colspan="2">template&lt;typename _Tp &gt; </td></tr>
<tr class="memitem:ad2ecdf5485d88536eb7c97662a428a4e"><td align="right" class="memTemplItemLeft" valign="top">static void </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="../../da/d56/classcv_1_1FileStorage.html#ad2ecdf5485d88536eb7c97662a428a4e">write</a> (<a class="el" href="../../da/d56/classcv_1_1FileStorage.html">FileStorage</a> &amp;fs, const <a class="el" href="../../df/d6c/classcv_1_1Point3__.html">Point3_</a>&lt; _Tp &gt; &amp;pt)</td></tr>
<tr class="separator:ad2ecdf5485d88536eb7c97662a428a4e"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a9700290bb5ec6b5c890bc0d251855f61"><td class="memTemplParams" colspan="2">template&lt;typename _Tp &gt; </td></tr>
<tr class="memitem:a9700290bb5ec6b5c890bc0d251855f61"><td align="right" class="memTemplItemLeft" valign="top">static void </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="../../da/d56/classcv_1_1FileStorage.html#a9700290bb5ec6b5c890bc0d251855f61">write</a> (<a class="el" href="../../da/d56/classcv_1_1FileStorage.html">FileStorage</a> &amp;fs, const <a class="el" href="../../d6/d50/classcv_1_1Size__.html">Size_</a>&lt; _Tp &gt; &amp;sz)</td></tr>
<tr class="separator:a9700290bb5ec6b5c890bc0d251855f61"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a843319acfe360410e8cfcff1749aa5b0"><td class="memTemplParams" colspan="2">template&lt;typename _Tp &gt; </td></tr>
<tr class="memitem:a843319acfe360410e8cfcff1749aa5b0"><td align="right" class="memTemplItemLeft" valign="top">static void </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="../../da/d56/classcv_1_1FileStorage.html#a843319acfe360410e8cfcff1749aa5b0">write</a> (<a class="el" href="../../da/d56/classcv_1_1FileStorage.html">FileStorage</a> &amp;fs, const <a class="el" href="../../da/df6/classcv_1_1Complex.html">Complex</a>&lt; _Tp &gt; &amp;c)</td></tr>
<tr class="separator:a843319acfe360410e8cfcff1749aa5b0"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:abff24d9b3462a4d368e864b09c62de46"><td class="memTemplParams" colspan="2">template&lt;typename _Tp &gt; </td></tr>
<tr class="memitem:abff24d9b3462a4d368e864b09c62de46"><td align="right" class="memTemplItemLeft" valign="top">static void </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="../../da/d56/classcv_1_1FileStorage.html#abff24d9b3462a4d368e864b09c62de46">write</a> (<a class="el" href="../../da/d56/classcv_1_1FileStorage.html">FileStorage</a> &amp;fs, const <a class="el" href="../../d2/d44/classcv_1_1Rect__.html">Rect_</a>&lt; _Tp &gt; &amp;r)</td></tr>
<tr class="separator:abff24d9b3462a4d368e864b09c62de46"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a5d8a4afcb9a84c5705605b6456f0bf4a"><td class="memTemplParams" colspan="2">template&lt;typename _Tp , int cn&gt; </td></tr>
<tr class="memitem:a5d8a4afcb9a84c5705605b6456f0bf4a"><td align="right" class="memTemplItemLeft" valign="top">static void </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="../../da/d56/classcv_1_1FileStorage.html#a5d8a4afcb9a84c5705605b6456f0bf4a">write</a> (<a class="el" href="../../da/d56/classcv_1_1FileStorage.html">FileStorage</a> &amp;fs, const <a class="el" href="../../d6/dcf/classcv_1_1Vec.html">Vec</a>&lt; _Tp, cn &gt; &amp;v)</td></tr>
<tr class="separator:a5d8a4afcb9a84c5705605b6456f0bf4a"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:afcf3219ea83b2e466f0d9631ea53d7a3"><td class="memTemplParams" colspan="2">template&lt;typename _Tp , int m, int n&gt; </td></tr>
<tr class="memitem:afcf3219ea83b2e466f0d9631ea53d7a3"><td align="right" class="memTemplItemLeft" valign="top">static void </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="../../da/d56/classcv_1_1FileStorage.html#afcf3219ea83b2e466f0d9631ea53d7a3">write</a> (<a class="el" href="../../da/d56/classcv_1_1FileStorage.html">FileStorage</a> &amp;fs, const <a class="el" href="../../de/de1/classcv_1_1Matx.html">Matx</a>&lt; _Tp, m, n &gt; &amp;x)</td></tr>
<tr class="separator:afcf3219ea83b2e466f0d9631ea53d7a3"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a54bf874d535dfc61b08fff99e7b5e8ab"><td class="memTemplParams" colspan="2">template&lt;typename _Tp &gt; </td></tr>
<tr class="memitem:a54bf874d535dfc61b08fff99e7b5e8ab"><td align="right" class="memTemplItemLeft" valign="top">static void </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="../../da/d56/classcv_1_1FileStorage.html#a54bf874d535dfc61b08fff99e7b5e8ab">write</a> (<a class="el" href="../../da/d56/classcv_1_1FileStorage.html">FileStorage</a> &amp;fs, const <a class="el" href="../../d1/da0/classcv_1_1Scalar__.html">Scalar_</a>&lt; _Tp &gt; &amp;s)</td></tr>
<tr class="separator:a54bf874d535dfc61b08fff99e7b5e8ab"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:acb53272996fd5a25ca077aeb5385a9a3"><td align="right" class="memItemLeft" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../da/d56/classcv_1_1FileStorage.html#acb53272996fd5a25ca077aeb5385a9a3">write</a> (<a class="el" href="../../da/d56/classcv_1_1FileStorage.html">FileStorage</a> &amp;fs, const <a class="el" href="../../da/d35/classcv_1_1Range.html">Range</a> &amp;r)</td></tr>
<tr class="separator:acb53272996fd5a25ca077aeb5385a9a3"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:af710db7aa40918f5429ba8e78622d08f"><td class="memTemplParams" colspan="2">template&lt;typename _Tp &gt; </td></tr>
<tr class="memitem:af710db7aa40918f5429ba8e78622d08f"><td align="right" class="memTemplItemLeft" valign="top">static void </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="../../da/d56/classcv_1_1FileStorage.html#af710db7aa40918f5429ba8e78622d08f">write</a> (<a class="el" href="../../da/d56/classcv_1_1FileStorage.html">FileStorage</a> &amp;fs, const std::vector&lt; _Tp &gt; &amp;vec)</td></tr>
<tr class="separator:af710db7aa40918f5429ba8e78622d08f"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a04c8f9337b9d9821114f951faee80bae"><td class="memTemplParams" colspan="2">template&lt;typename _Tp &gt; </td></tr>
<tr class="memitem:a04c8f9337b9d9821114f951faee80bae"><td align="right" class="memTemplItemLeft" valign="top">static void </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="../../da/d56/classcv_1_1FileStorage.html#a04c8f9337b9d9821114f951faee80bae">write</a> (<a class="el" href="../../da/d56/classcv_1_1FileStorage.html">FileStorage</a> &amp;fs, const <a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">String</a> &amp;name, const <a class="el" href="../../db/d4e/classcv_1_1Point__.html">Point_</a>&lt; _Tp &gt; &amp;pt)</td></tr>
<tr class="separator:a04c8f9337b9d9821114f951faee80bae"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a550f8a4931274589cdc5a3796c2eef48"><td class="memTemplParams" colspan="2">template&lt;typename _Tp &gt; </td></tr>
<tr class="memitem:a550f8a4931274589cdc5a3796c2eef48"><td align="right" class="memTemplItemLeft" valign="top">static void </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="../../da/d56/classcv_1_1FileStorage.html#a550f8a4931274589cdc5a3796c2eef48">write</a> (<a class="el" href="../../da/d56/classcv_1_1FileStorage.html">FileStorage</a> &amp;fs, const <a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">String</a> &amp;name, const <a class="el" href="../../df/d6c/classcv_1_1Point3__.html">Point3_</a>&lt; _Tp &gt; &amp;pt)</td></tr>
<tr class="separator:a550f8a4931274589cdc5a3796c2eef48"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a84453625335849d8ec1a0df6c865b0cb"><td class="memTemplParams" colspan="2">template&lt;typename _Tp &gt; </td></tr>
<tr class="memitem:a84453625335849d8ec1a0df6c865b0cb"><td align="right" class="memTemplItemLeft" valign="top">static void </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="../../da/d56/classcv_1_1FileStorage.html#a84453625335849d8ec1a0df6c865b0cb">write</a> (<a class="el" href="../../da/d56/classcv_1_1FileStorage.html">FileStorage</a> &amp;fs, const <a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">String</a> &amp;name, const <a class="el" href="../../d6/d50/classcv_1_1Size__.html">Size_</a>&lt; _Tp &gt; &amp;sz)</td></tr>
<tr class="separator:a84453625335849d8ec1a0df6c865b0cb"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ace7fc76da8b2a634a5c83183700f0bbb"><td class="memTemplParams" colspan="2">template&lt;typename _Tp &gt; </td></tr>
<tr class="memitem:ace7fc76da8b2a634a5c83183700f0bbb"><td align="right" class="memTemplItemLeft" valign="top">static void </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="../../da/d56/classcv_1_1FileStorage.html#ace7fc76da8b2a634a5c83183700f0bbb">write</a> (<a class="el" href="../../da/d56/classcv_1_1FileStorage.html">FileStorage</a> &amp;fs, const <a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">String</a> &amp;name, const <a class="el" href="../../da/df6/classcv_1_1Complex.html">Complex</a>&lt; _Tp &gt; &amp;c)</td></tr>
<tr class="separator:ace7fc76da8b2a634a5c83183700f0bbb"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a43c8a8a86952cff8b062e18c9f3e72cc"><td class="memTemplParams" colspan="2">template&lt;typename _Tp &gt; </td></tr>
<tr class="memitem:a43c8a8a86952cff8b062e18c9f3e72cc"><td align="right" class="memTemplItemLeft" valign="top">static void </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="../../da/d56/classcv_1_1FileStorage.html#a43c8a8a86952cff8b062e18c9f3e72cc">write</a> (<a class="el" href="../../da/d56/classcv_1_1FileStorage.html">FileStorage</a> &amp;fs, const <a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">String</a> &amp;name, const <a class="el" href="../../d2/d44/classcv_1_1Rect__.html">Rect_</a>&lt; _Tp &gt; &amp;r)</td></tr>
<tr class="separator:a43c8a8a86952cff8b062e18c9f3e72cc"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a893a9ed023837feb61f7fe804d21cb40"><td class="memTemplParams" colspan="2">template&lt;typename _Tp , int cn&gt; </td></tr>
<tr class="memitem:a893a9ed023837feb61f7fe804d21cb40"><td align="right" class="memTemplItemLeft" valign="top">static void </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="../../da/d56/classcv_1_1FileStorage.html#a893a9ed023837feb61f7fe804d21cb40">write</a> (<a class="el" href="../../da/d56/classcv_1_1FileStorage.html">FileStorage</a> &amp;fs, const <a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">String</a> &amp;name, const <a class="el" href="../../d6/dcf/classcv_1_1Vec.html">Vec</a>&lt; _Tp, cn &gt; &amp;v)</td></tr>
<tr class="separator:a893a9ed023837feb61f7fe804d21cb40"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ae11814668aa0bf1957b8c612eaac033d"><td class="memTemplParams" colspan="2">template&lt;typename _Tp , int m, int n&gt; </td></tr>
<tr class="memitem:ae11814668aa0bf1957b8c612eaac033d"><td align="right" class="memTemplItemLeft" valign="top">static void </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="../../da/d56/classcv_1_1FileStorage.html#ae11814668aa0bf1957b8c612eaac033d">write</a> (<a class="el" href="../../da/d56/classcv_1_1FileStorage.html">FileStorage</a> &amp;fs, const <a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">String</a> &amp;name, const <a class="el" href="../../de/de1/classcv_1_1Matx.html">Matx</a>&lt; _Tp, m, n &gt; &amp;x)</td></tr>
<tr class="separator:ae11814668aa0bf1957b8c612eaac033d"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a6f13874950203b1bbbe4ec4fee5eb6a1"><td class="memTemplParams" colspan="2">template&lt;typename _Tp &gt; </td></tr>
<tr class="memitem:a6f13874950203b1bbbe4ec4fee5eb6a1"><td align="right" class="memTemplItemLeft" valign="top">static void </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="../../da/d56/classcv_1_1FileStorage.html#a6f13874950203b1bbbe4ec4fee5eb6a1">write</a> (<a class="el" href="../../da/d56/classcv_1_1FileStorage.html">FileStorage</a> &amp;fs, const <a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">String</a> &amp;name, const <a class="el" href="../../d1/da0/classcv_1_1Scalar__.html">Scalar_</a>&lt; _Tp &gt; &amp;s)</td></tr>
<tr class="separator:a6f13874950203b1bbbe4ec4fee5eb6a1"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:addda29520f80f53e144a5e15b57ec98d"><td align="right" class="memItemLeft" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../da/d56/classcv_1_1FileStorage.html#addda29520f80f53e144a5e15b57ec98d">write</a> (<a class="el" href="../../da/d56/classcv_1_1FileStorage.html">FileStorage</a> &amp;fs, const <a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">String</a> &amp;name, const <a class="el" href="../../da/d35/classcv_1_1Range.html">Range</a> &amp;r)</td></tr>
<tr class="separator:addda29520f80f53e144a5e15b57ec98d"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a1fcc9cf302523a5ab15f62f77a3bd6dd"><td align="right" class="memItemLeft" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../da/d56/classcv_1_1FileStorage.html#a1fcc9cf302523a5ab15f62f77a3bd6dd">write</a> (<a class="el" href="../../da/d56/classcv_1_1FileStorage.html">FileStorage</a> &amp;fs, const <a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">String</a> &amp;name, const <a class="el" href="../../d2/d29/classcv_1_1KeyPoint.html">KeyPoint</a> &amp;kpt)</td></tr>
<tr class="separator:a1fcc9cf302523a5ab15f62f77a3bd6dd"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aa7eda7701e29ddfcba1ce21615113c67"><td align="right" class="memItemLeft" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../da/d56/classcv_1_1FileStorage.html#aa7eda7701e29ddfcba1ce21615113c67">write</a> (<a class="el" href="../../da/d56/classcv_1_1FileStorage.html">FileStorage</a> &amp;fs, const <a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">String</a> &amp;name, const <a class="el" href="../../d4/de0/classcv_1_1DMatch.html">DMatch</a> &amp;m)</td></tr>
<tr class="separator:aa7eda7701e29ddfcba1ce21615113c67"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ac1f774dd8fb03a6b5207e022d3553f2d"><td class="memTemplParams" colspan="2">template&lt;typename _Tp , typename std::enable_if&lt; std::is_enum&lt; _Tp &gt;::value &gt;::type *  = nullptr&gt; </td></tr>
<tr class="memitem:ac1f774dd8fb03a6b5207e022d3553f2d"><td align="right" class="memTemplItemLeft" valign="top">static void </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="../../da/d56/classcv_1_1FileStorage.html#ac1f774dd8fb03a6b5207e022d3553f2d">write</a> (<a class="el" href="../../da/d56/classcv_1_1FileStorage.html">FileStorage</a> &amp;fs, const <a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">String</a> &amp;name, const _Tp &amp;val)</td></tr>
<tr class="separator:ac1f774dd8fb03a6b5207e022d3553f2d"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a6e3ddba0ac9a82d6f7817f9db1aa2556"><td class="memTemplParams" colspan="2">template&lt;typename _Tp &gt; </td></tr>
<tr class="memitem:a6e3ddba0ac9a82d6f7817f9db1aa2556"><td align="right" class="memTemplItemLeft" valign="top">static void </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="../../da/d56/classcv_1_1FileStorage.html#a6e3ddba0ac9a82d6f7817f9db1aa2556">write</a> (<a class="el" href="../../da/d56/classcv_1_1FileStorage.html">FileStorage</a> &amp;fs, const <a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">String</a> &amp;name, const std::vector&lt; _Tp &gt; &amp;vec)</td></tr>
<tr class="separator:a6e3ddba0ac9a82d6f7817f9db1aa2556"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:af9feef3fb24eb47d9a665056977d1183"><td class="memTemplParams" colspan="2">template&lt;typename _Tp &gt; </td></tr>
<tr class="memitem:af9feef3fb24eb47d9a665056977d1183"><td align="right" class="memTemplItemLeft" valign="top">static void </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="../../da/d56/classcv_1_1FileStorage.html#af9feef3fb24eb47d9a665056977d1183">write</a> (<a class="el" href="../../da/d56/classcv_1_1FileStorage.html">FileStorage</a> &amp;fs, const <a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">String</a> &amp;name, const std::vector&lt; std::vector&lt; _Tp &gt; &gt; &amp;vec)</td></tr>
<tr class="separator:af9feef3fb24eb47d9a665056977d1183"><td class="memSeparator" colspan="2"> </td></tr>
<tr><td colspan="2"><div class="groupHeader"></div></td></tr>
<tr class="memitem:a84431fd1b5075275f5c3407dc58b36ae"><td class="memTemplParams" colspan="2">template&lt;typename _Tp &gt; </td></tr>
<tr class="memitem:a84431fd1b5075275f5c3407dc58b36ae"><td align="right" class="memTemplItemLeft" valign="top">static <a class="el" href="../../da/d56/classcv_1_1FileStorage.html">FileStorage</a> &amp; </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="../../da/d56/classcv_1_1FileStorage.html#a84431fd1b5075275f5c3407dc58b36ae">operator&lt;&lt;</a> (<a class="el" href="../../da/d56/classcv_1_1FileStorage.html">FileStorage</a> &amp;fs, const _Tp &amp;value)</td></tr>
<tr class="memdesc:a84431fd1b5075275f5c3407dc58b36ae"><td class="mdescLeft"> </td><td class="mdescRight">Writes data to a file storage.  <a href="#a84431fd1b5075275f5c3407dc58b36ae">More...</a><br/></td></tr>
<tr class="separator:a84431fd1b5075275f5c3407dc58b36ae"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:acdfed1145ad6cc92e20975596c7b8bed"><td align="right" class="memItemLeft" valign="top">static <a class="el" href="../../da/d56/classcv_1_1FileStorage.html">FileStorage</a> &amp; </td><td class="memItemRight" valign="bottom"><a class="el" href="../../da/d56/classcv_1_1FileStorage.html#acdfed1145ad6cc92e20975596c7b8bed">operator&lt;&lt;</a> (<a class="el" href="../../da/d56/classcv_1_1FileStorage.html">FileStorage</a> &amp;fs, const char *str)</td></tr>
<tr class="memdesc:acdfed1145ad6cc92e20975596c7b8bed"><td class="mdescLeft"> </td><td class="mdescRight">Writes data to a file storage.  <a href="#acdfed1145ad6cc92e20975596c7b8bed">More...</a><br/></td></tr>
<tr class="separator:acdfed1145ad6cc92e20975596c7b8bed"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ae1a501b3d13d8fd3de1b7299926a02cd"><td align="right" class="memItemLeft" valign="top">static <a class="el" href="../../da/d56/classcv_1_1FileStorage.html">FileStorage</a> &amp; </td><td class="memItemRight" valign="bottom"><a class="el" href="../../da/d56/classcv_1_1FileStorage.html#ae1a501b3d13d8fd3de1b7299926a02cd">operator&lt;&lt;</a> (<a class="el" href="../../da/d56/classcv_1_1FileStorage.html">FileStorage</a> &amp;fs, char *value)</td></tr>
<tr class="memdesc:ae1a501b3d13d8fd3de1b7299926a02cd"><td class="mdescLeft"> </td><td class="mdescRight">Writes data to a file storage.  <a href="#ae1a501b3d13d8fd3de1b7299926a02cd">More...</a><br/></td></tr>
<tr class="separator:ae1a501b3d13d8fd3de1b7299926a02cd"><td class="memSeparator" colspan="2"> </td></tr>
</table>
<a id="details" name="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>XML/YAML/JSON file storage class that encapsulates all the information necessary for writing or reading data to/from a file. </p>
<dl><dt><b>Examples: </b></dt><dd><a class="el" href="../../d2/dfd/samples_2cpp_2filestorage_8cpp-example.html#_a2">samples/cpp/filestorage.cpp</a>, <a class="el" href="../../de/d45/samples_2cpp_2tutorial_code_2features2D_2Homography_2decompose_homography_8cpp-example.html#_a11">samples/cpp/tutorial_code/features2D/Homography/decompose_homography.cpp</a>, <a class="el" href="../../d9/d47/samples_2cpp_2tutorial_code_2features2D_2Homography_2homography_from_camera_displacement_8cpp-example.html#_a11">samples/cpp/tutorial_code/features2D/Homography/homography_from_camera_displacement.cpp</a>, and <a class="el" href="../../d0/d92/samples_2cpp_2tutorial_code_2features2D_2Homography_2pose_from_homography_8cpp-example.html#_a14">samples/cpp/tutorial_code/features2D/Homography/pose_from_homography.cpp</a>.</dd>
</dl></div><h2 class="groupheader">Member Enumeration Documentation</h2>
<a id="a973e41cb75ef6230412a567723b7482d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a973e41cb75ef6230412a567723b7482d">◆ </a></span>Mode</h2>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="../../da/d56/classcv_1_1FileStorage.html#a973e41cb75ef6230412a567723b7482d">cv::FileStorage::Mode</a></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>file storage mode </p>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="a973e41cb75ef6230412a567723b7482daa0dcc459c4d100c35ccfa9a643827bed"></a>READ </td><td class="fielddoc"><p>value, open the file for reading </p>
</td></tr>
<tr><td class="fieldname"><a id="a973e41cb75ef6230412a567723b7482da747a241cefee7b8af34c3d804c864ad6"></a>WRITE </td><td class="fielddoc"><p>value, open the file for writing </p>
</td></tr>
<tr><td class="fieldname"><a id="a973e41cb75ef6230412a567723b7482da049591e6d1749b29bb206909c70b2470"></a>APPEND </td><td class="fielddoc"><p>value, open the file for appending </p>
</td></tr>
<tr><td class="fieldname"><a id="a973e41cb75ef6230412a567723b7482dabdde7670c9c7e472f8445932ea7cbbf7"></a>MEMORY </td><td class="fielddoc"><p>returned by <a class="el" href="../../da/d56/classcv_1_1FileStorage.html#ad23d5415a06fb4bc97bfa034589b376e" title="Closes the file and releases all the memory buffers. ">FileStorage::release</a>) </p>
<p>flag, read data from source or write data to the internal buffer (which is </p>
</td></tr>
<tr><td class="fieldname"><a id="a973e41cb75ef6230412a567723b7482dafa2bc69eece7e0210b59a0c7113d5b3e"></a>FORMAT_MASK </td><td class="fielddoc"><p>mask for format flags </p>
</td></tr>
<tr><td class="fieldname"><a id="a973e41cb75ef6230412a567723b7482da5c1854b1f439d35644c7475791f3c47e"></a>FORMAT_AUTO </td><td class="fielddoc"><p>flag, auto format </p>
</td></tr>
<tr><td class="fieldname"><a id="a973e41cb75ef6230412a567723b7482da753a7b441d2876fa8a77009472108356"></a>FORMAT_XML </td><td class="fielddoc"><p>flag, XML format </p>
</td></tr>
<tr><td class="fieldname"><a id="a973e41cb75ef6230412a567723b7482da63e7a7dcb2d68359210dc5fc8c83e92d"></a>FORMAT_YAML </td><td class="fielddoc"><p>flag, YAML format </p>
</td></tr>
<tr><td class="fieldname"><a id="a973e41cb75ef6230412a567723b7482da65cebec1331fd20338511b2f5f31efe4"></a>FORMAT_JSON </td><td class="fielddoc"><p>flag, JSON format </p>
</td></tr>
<tr><td class="fieldname"><a id="a973e41cb75ef6230412a567723b7482daef5eb4ad351f31273667949b65e4e6c2"></a>BASE64 </td><td class="fielddoc"><p>flag, write rawdata in Base64 by default. (consider using WRITE_BASE64) </p>
</td></tr>
<tr><td class="fieldname"><a id="a973e41cb75ef6230412a567723b7482da74cdcbdb96c29f19e3ccc2ba4ab81614"></a>WRITE_BASE64 </td><td class="fielddoc"><p>flag, enable both WRITE and BASE64 </p>
</td></tr>
</table>
</div>
</div>
<a id="ab25ab28a95a47dd9cd9e26e71398dd3f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab25ab28a95a47dd9cd9e26e71398dd3f">◆ </a></span>State</h2>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="../../da/d56/classcv_1_1FileStorage.html#ab25ab28a95a47dd9cd9e26e71398dd3f">cv::FileStorage::State</a></td>
        </tr>
      </table>
</div><div class="memdoc">
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="ab25ab28a95a47dd9cd9e26e71398dd3fa3e7f9ab4d3076f3fd61612e8b171930c"></a>UNDEFINED </td><td class="fielddoc"></td></tr>
<tr><td class="fieldname"><a id="ab25ab28a95a47dd9cd9e26e71398dd3fa11b72f7c235089aebd2abdd72c0f7be9"></a>VALUE_EXPECTED </td><td class="fielddoc"></td></tr>
<tr><td class="fieldname"><a id="ab25ab28a95a47dd9cd9e26e71398dd3faa3546928fd78831aca18525dc8cc472e"></a>NAME_EXPECTED </td><td class="fielddoc"></td></tr>
<tr><td class="fieldname"><a id="ab25ab28a95a47dd9cd9e26e71398dd3fa5f72e3ef09a40bb337ce1729a5df2767"></a>INSIDE_MAP </td><td class="fielddoc"></td></tr>
</table>
</div>
</div>
<h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a29bcb12ede10d87a0fcbf89a88b092af"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a29bcb12ede10d87a0fcbf89a88b092af">◆ </a></span>FileStorage() <span class="overload">[1/2]</span></h2>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">cv::FileStorage::FileStorage </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table><table class="python_language"><tr><th colspan="999" style="text-align:left">Python:</th></tr><tr><td style="width: 20px;"></td><td>&lt;FileStorage object&gt;</td><td>=</td><td>cv.FileStorage(</td><td class="paramname"></td><td>)</td></tr><tr><td style="width: 20px;"></td><td>&lt;FileStorage object&gt;</td><td>=</td><td>cv.FileStorage(</td><td class="paramname">filename, flags[, encoding]</td><td>)</td></tr></table>
</div><div class="memdoc">
<p>The constructors. </p>
<p>The full constructor opens the file. Alternatively you can use the default constructor and then call <a class="el" href="../../da/d56/classcv_1_1FileStorage.html#a14c2c18dc2e29999d03d52a0c24bd91c" title="Opens a file. ">FileStorage::open</a>. </p>
</div>
</div>
<a id="a587b4f5793a894fbe245e95cb30d6bc7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a587b4f5793a894fbe245e95cb30d6bc7">◆ </a></span>FileStorage() <span class="overload">[2/2]</span></h2>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">cv::FileStorage::FileStorage </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">String</a> &amp; </td>
          <td class="paramname"><em>filename</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int </td>
          <td class="paramname"><em>flags</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">String</a> &amp; </td>
          <td class="paramname"><em>encoding</em> = <code><a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">String</a>()</code> </td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table><table class="python_language"><tr><th colspan="999" style="text-align:left">Python:</th></tr><tr><td style="width: 20px;"></td><td>&lt;FileStorage object&gt;</td><td>=</td><td>cv.FileStorage(</td><td class="paramname"></td><td>)</td></tr><tr><td style="width: 20px;"></td><td>&lt;FileStorage object&gt;</td><td>=</td><td>cv.FileStorage(</td><td class="paramname">filename, flags[, encoding]</td><td>)</td></tr></table>
</div><div class="memdoc">
<p>Opens a file. </p>
<p>This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. See description of parameters in <a class="el" href="../../da/d56/classcv_1_1FileStorage.html#a29bcb12ede10d87a0fcbf89a88b092af" title="The constructors. ">FileStorage::FileStorage</a>. The method calls <a class="el" href="../../da/d56/classcv_1_1FileStorage.html#ad23d5415a06fb4bc97bfa034589b376e" title="Closes the file and releases all the memory buffers. ">FileStorage::release</a> before opening the file. </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">filename</td><td>Name of the file to open or the text string to read the data from. Extension of the file (.xml, .yml/.yaml or .json) determines its format (XML, YAML or JSON respectively). Also you can append .gz to work with compressed files, for example myHugeMatrix.xml.gz. If both <a class="el" href="../../da/d56/classcv_1_1FileStorage.html#a973e41cb75ef6230412a567723b7482da747a241cefee7b8af34c3d804c864ad6" title="value, open the file for writing ">FileStorage::WRITE</a> and <a class="el" href="../../da/d56/classcv_1_1FileStorage.html#a973e41cb75ef6230412a567723b7482dabdde7670c9c7e472f8445932ea7cbbf7" title="returned by FileStorage::release) ">FileStorage::MEMORY</a> flags are specified, source is used just to specify the output file format (e.g. mydata.xml, .yml etc.). A file name can also contain parameters. You can use this format, "*?base64" (e.g. "file.json?base64" (case sensitive)), as an alternative to <a class="el" href="../../da/d56/classcv_1_1FileStorage.html#a973e41cb75ef6230412a567723b7482daef5eb4ad351f31273667949b65e4e6c2" title="flag, write rawdata in Base64 by default. (consider using WRITE_BASE64) ">FileStorage::BASE64</a> flag. </td></tr>
    <tr><td class="paramname">flags</td><td>Mode of operation. One of <a class="el" href="../../da/d56/classcv_1_1FileStorage.html#a973e41cb75ef6230412a567723b7482d" title="file storage mode ">FileStorage::Mode</a> </td></tr>
    <tr><td class="paramname">encoding</td><td>Encoding of the file. Note that UTF-16 XML encoding is not supported currently and you should use 8-bit encoding instead of it. </td></tr>
  </table>
  </dd>
</dl>
</div>
</div>
<a id="a5f0353317a382eb7154e85fec2f419ca"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5f0353317a382eb7154e85fec2f419ca">◆ </a></span>~FileStorage()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual cv::FileStorage::~FileStorage </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>the destructor. calls <a class="el" href="../../da/d56/classcv_1_1FileStorage.html#ad23d5415a06fb4bc97bfa034589b376e" title="Closes the file and releases all the memory buffers. ">release()</a> </p>
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="ab57944e5c8dacfa7866c70c4ceaaab7b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab57944e5c8dacfa7866c70c4ceaaab7b">◆ </a></span>endWriteStruct()</h2>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void cv::FileStorage::endWriteStruct </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table><table class="python_language"><tr><th colspan="999" style="text-align:left">Python:</th></tr><tr><td style="width: 20px;"></td><td>None</td><td>=</td><td>cv.FileStorage.endWriteStruct(</td><td class="paramname"></td><td>)</td></tr></table>
</div><div class="memdoc">
<p>Finishes writing nested structure (should pair <a class="el" href="../../da/d56/classcv_1_1FileStorage.html#a56bf0823a4e606c018db8999a8edc7b4" title="Starts to write a nested structure (sequence or a mapping). ">startWriteStruct()</a>) </p>
</div>
</div>
<a id="ac49dded8d2d452a65bfc5fb3e3b96ec8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac49dded8d2d452a65bfc5fb3e3b96ec8">◆ </a></span>getDefaultObjectName()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">String</a> cv::FileStorage::getDefaultObjectName </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">String</a> &amp; </td>
          <td class="paramname"><em>filename</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Returns the normalized object name for the specified name of a file. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">filename</td><td>Name of a file </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The normalized object name. </dd></dl>
</div>
</div>
<a id="a7153604af73ca7de43b977eedd1bbe09"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7153604af73ca7de43b977eedd1bbe09">◆ </a></span>getFirstTopLevelNode()</h2>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../de/dd9/classcv_1_1FileNode.html">FileNode</a> cv::FileStorage::getFirstTopLevelNode </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table><table class="python_language"><tr><th colspan="999" style="text-align:left">Python:</th></tr><tr><td style="width: 20px;"></td><td>retval</td><td>=</td><td>cv.FileStorage.getFirstTopLevelNode(</td><td class="paramname"></td><td>)</td></tr></table>
</div><div class="memdoc">
<p>Returns the first element of the top-level mapping. </p>
<dl class="section return"><dt>Returns</dt><dd>The first element of the top-level mapping. </dd></dl>
</div>
</div>
<a id="abe9afb62d2a806f690bba662b1ef8d49"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abe9afb62d2a806f690bba662b1ef8d49">◆ </a></span>getFormat()</h2>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int cv::FileStorage::getFormat </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table><table class="python_language"><tr><th colspan="999" style="text-align:left">Python:</th></tr><tr><td style="width: 20px;"></td><td>retval</td><td>=</td><td>cv.FileStorage.getFormat(</td><td class="paramname"></td><td>)</td></tr></table>
</div><div class="memdoc">
<p>Returns the current format. </p>
<dl class="section return"><dt>Returns</dt><dd>The current format, see <a class="el" href="../../da/d56/classcv_1_1FileStorage.html#a973e41cb75ef6230412a567723b7482d" title="file storage mode ">FileStorage::Mode</a> </dd></dl>
</div>
</div>
<a id="aa952c31f4e632595cd5ac107913f4fd1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa952c31f4e632595cd5ac107913f4fd1">◆ </a></span>isOpened()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual bool cv::FileStorage::isOpened </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table><table class="python_language"><tr><th colspan="999" style="text-align:left">Python:</th></tr><tr><td style="width: 20px;"></td><td>retval</td><td>=</td><td>cv.FileStorage.isOpened(</td><td class="paramname"></td><td>)</td></tr></table>
</div><div class="memdoc">
<p>Checks whether the file is opened. </p>
<dl class="section return"><dt>Returns</dt><dd>true if the object is associated with the current file and false otherwise. It is a good practice to call this method after you tried to open a file. </dd></dl>
<dl><dt><b>Examples: </b></dt><dd><a class="el" href="../../d2/dfd/samples_2cpp_2filestorage_8cpp-example.html#a15">samples/cpp/filestorage.cpp</a>.</dd>
</dl>
</div>
</div>
<a id="a14c2c18dc2e29999d03d52a0c24bd91c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a14c2c18dc2e29999d03d52a0c24bd91c">◆ </a></span>open()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual bool cv::FileStorage::open </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">String</a> &amp; </td>
          <td class="paramname"><em>filename</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int </td>
          <td class="paramname"><em>flags</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">String</a> &amp; </td>
          <td class="paramname"><em>encoding</em> = <code><a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">String</a>()</code> </td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table><table class="python_language"><tr><th colspan="999" style="text-align:left">Python:</th></tr><tr><td style="width: 20px;"></td><td>retval</td><td>=</td><td>cv.FileStorage.open(</td><td class="paramname">filename, flags[, encoding]</td><td>)</td></tr></table>
</div><div class="memdoc">
<p>Opens a file. </p>
<p>See description of parameters in <a class="el" href="../../da/d56/classcv_1_1FileStorage.html#a29bcb12ede10d87a0fcbf89a88b092af" title="The constructors. ">FileStorage::FileStorage</a>. The method calls <a class="el" href="../../da/d56/classcv_1_1FileStorage.html#ad23d5415a06fb4bc97bfa034589b376e" title="Closes the file and releases all the memory buffers. ">FileStorage::release</a> before opening the file. </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">filename</td><td>Name of the file to open or the text string to read the data from. Extension of the file (.xml, .yml/.yaml or .json) determines its format (XML, YAML or JSON respectively). Also you can append .gz to work with compressed files, for example myHugeMatrix.xml.gz. If both <a class="el" href="../../da/d56/classcv_1_1FileStorage.html#a973e41cb75ef6230412a567723b7482da747a241cefee7b8af34c3d804c864ad6" title="value, open the file for writing ">FileStorage::WRITE</a> and <a class="el" href="../../da/d56/classcv_1_1FileStorage.html#a973e41cb75ef6230412a567723b7482dabdde7670c9c7e472f8445932ea7cbbf7" title="returned by FileStorage::release) ">FileStorage::MEMORY</a> flags are specified, source is used just to specify the output file format (e.g. mydata.xml, .yml etc.). A file name can also contain parameters. You can use this format, "*?base64" (e.g. "file.json?base64" (case sensitive)), as an alternative to <a class="el" href="../../da/d56/classcv_1_1FileStorage.html#a973e41cb75ef6230412a567723b7482daef5eb4ad351f31273667949b65e4e6c2" title="flag, write rawdata in Base64 by default. (consider using WRITE_BASE64) ">FileStorage::BASE64</a> flag. </td></tr>
    <tr><td class="paramname">flags</td><td>Mode of operation. One of <a class="el" href="../../da/d56/classcv_1_1FileStorage.html#a973e41cb75ef6230412a567723b7482d" title="file storage mode ">FileStorage::Mode</a> </td></tr>
    <tr><td class="paramname">encoding</td><td>Encoding of the file. Note that UTF-16 XML encoding is not supported currently and you should use 8-bit encoding instead of it. </td></tr>
  </table>
  </dd>
</dl>
</div>
</div>
<a id="adc7eff268ab95c664657a03e72ed85a5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adc7eff268ab95c664657a03e72ed85a5">◆ </a></span>operator[]() <span class="overload">[1/2]</span></h2>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../de/dd9/classcv_1_1FileNode.html">FileNode</a> cv::FileStorage::operator[] </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">String</a> &amp; </td>
          <td class="paramname"><em>nodename</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table><table class="python_language"><tr><th colspan="999" style="text-align:left">Python:</th></tr><tr><td style="width: 20px;"></td><td>retval</td><td>=</td><td>cv.FileStorage.getNode(</td><td class="paramname">nodename</td><td>)</td></tr></table>
</div><div class="memdoc">
<p>Returns the specified element of the top-level mapping. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">nodename</td><td>Name of the file node. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><a class="el" href="../../d3/de3/classcv_1_1Node.html">Node</a> with the given name. </dd></dl>
</div>
</div>
<a id="a532f6a27dd57d0f640c6a5a9acddac88"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a532f6a27dd57d0f640c6a5a9acddac88">◆ </a></span>operator[]() <span class="overload">[2/2]</span></h2>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../de/dd9/classcv_1_1FileNode.html">FileNode</a> cv::FileStorage::operator[] </td>
          <td>(</td>
          <td class="paramtype">const char * </td>
          <td class="paramname"><em>nodename</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table><table class="python_language"><tr><th colspan="999" style="text-align:left">Python:</th></tr><tr><td style="width: 20px;"></td><td>retval</td><td>=</td><td>cv.FileStorage.getNode(</td><td class="paramname">nodename</td><td>)</td></tr></table>
</div><div class="memdoc">
<p>This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. </p>
</div>
</div>
<a id="ad23d5415a06fb4bc97bfa034589b376e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad23d5415a06fb4bc97bfa034589b376e">◆ </a></span>release()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void cv::FileStorage::release </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table><table class="python_language"><tr><th colspan="999" style="text-align:left">Python:</th></tr><tr><td style="width: 20px;"></td><td>None</td><td>=</td><td>cv.FileStorage.release(</td><td class="paramname"></td><td>)</td></tr></table>
</div><div class="memdoc">
<p>Closes the file and releases all the memory buffers. </p>
<p>Call this method after all I/O operations with the storage are finished. </p>
</div>
</div>
<a id="a5341a9e09e1b797faf6b7ec40bd558fd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5341a9e09e1b797faf6b7ec40bd558fd">◆ </a></span>releaseAndGetString()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">String</a> cv::FileStorage::releaseAndGetString </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table><table class="python_language"><tr><th colspan="999" style="text-align:left">Python:</th></tr><tr><td style="width: 20px;"></td><td>retval</td><td>=</td><td>cv.FileStorage.releaseAndGetString(</td><td class="paramname"></td><td>)</td></tr></table>
</div><div class="memdoc">
<p>Closes the file and releases all the memory buffers. </p>
<p>Call this method after all I/O operations with the storage are finished. If the storage was opened for writing data and <a class="el" href="../../da/d56/classcv_1_1FileStorage.html#a973e41cb75ef6230412a567723b7482da747a241cefee7b8af34c3d804c864ad6" title="value, open the file for writing ">FileStorage::WRITE</a> was specified </p>
<dl><dt><b>Examples: </b></dt><dd><a class="el" href="../../d2/dfd/samples_2cpp_2filestorage_8cpp-example.html#a23">samples/cpp/filestorage.cpp</a>.</dd>
</dl>
</div>
</div>
<a id="a504146889949abfe445f87beab4204fd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a504146889949abfe445f87beab4204fd">◆ </a></span>root()</h2>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../de/dd9/classcv_1_1FileNode.html">FileNode</a> cv::FileStorage::root </td>
          <td>(</td>
          <td class="paramtype">int </td>
          <td class="paramname"><em>streamidx</em> = <code>0</code></td><td>)</td>
          <td> const</td>
        </tr>
      </table><table class="python_language"><tr><th colspan="999" style="text-align:left">Python:</th></tr><tr><td style="width: 20px;"></td><td>retval</td><td>=</td><td>cv.FileStorage.root(</td><td class="paramname">[, streamidx]</td><td>)</td></tr></table>
</div><div class="memdoc">
<p>Returns the top-level mapping. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">streamidx</td><td>Zero-based index of the stream. In most cases there is only one stream in the file. However, YAML supports multiple streams and so there can be several. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The top-level mapping. </dd></dl>
</div>
</div>
<a id="a56bf0823a4e606c018db8999a8edc7b4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a56bf0823a4e606c018db8999a8edc7b4">◆ </a></span>startWriteStruct()</h2>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void cv::FileStorage::startWriteStruct </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">String</a> &amp; </td>
          <td class="paramname"><em>name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int </td>
          <td class="paramname"><em>flags</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">String</a> &amp; </td>
          <td class="paramname"><em>typeName</em> = <code><a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">String</a>()</code> </td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table><table class="python_language"><tr><th colspan="999" style="text-align:left">Python:</th></tr><tr><td style="width: 20px;"></td><td>None</td><td>=</td><td>cv.FileStorage.startWriteStruct(</td><td class="paramname">name, flags[, typeName]</td><td>)</td></tr></table>
</div><div class="memdoc">
<p>Starts to write a nested structure (sequence or a mapping). </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">name</td><td>name of the structure. When writing to sequences (a.k.a. "arrays"), pass an empty string. </td></tr>
    <tr><td class="paramname">flags</td><td>type of the structure (<a class="el" href="../../de/dd9/classcv_1_1FileNode.html#a296580c68b764fddeb2cd42912bd34cca046708f7941fcfe57adab07734a605a0" title="mapping ">FileNode::MAP</a> or <a class="el" href="../../de/dd9/classcv_1_1FileNode.html#a296580c68b764fddeb2cd42912bd34ccaa359c2282183738d11a665035a1a67bb" title="sequence ">FileNode::SEQ</a> (both with optional <a class="el" href="../../de/dd9/classcv_1_1FileNode.html#a296580c68b764fddeb2cd42912bd34cca6341540fa16ae64960926d977ecba81c" title="compact representation of a sequence or mapping. Used only by YAML writer ">FileNode::FLOW</a>)). </td></tr>
    <tr><td class="paramname">typeName</td><td>optional name of the type you store. The effect of setting this depends on the storage format. I.e. if the format has a specification for storing type information, this parameter is used. </td></tr>
  </table>
  </dd>
</dl>
</div>
</div>
<a id="a3efd38c576bac8b66281826f0a2642e7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3efd38c576bac8b66281826f0a2642e7">◆ </a></span>write() <span class="overload">[1/5]</span></h2>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void cv::FileStorage::write </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">String</a> &amp; </td>
          <td class="paramname"><em>name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int </td>
          <td class="paramname"><em>val</em> </td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table><table class="python_language"><tr><th colspan="999" style="text-align:left">Python:</th></tr><tr><td style="width: 20px;"></td><td>None</td><td>=</td><td>cv.FileStorage.write(</td><td class="paramname">name, val</td><td>)</td></tr></table>
</div><div class="memdoc">
<p>Simplified writing API to use with bindings. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">name</td><td>Name of the written object. When writing to sequences (a.k.a. "arrays"), pass an empty string. </td></tr>
    <tr><td class="paramname">val</td><td>Value of the written object. </td></tr>
  </table>
  </dd>
</dl>
</div>
</div>
<a id="af9597d58d64dff5cc998344bc4b1c1f0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af9597d58d64dff5cc998344bc4b1c1f0">◆ </a></span>write() <span class="overload">[2/5]</span></h2>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void cv::FileStorage::write </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">String</a> &amp; </td>
          <td class="paramname"><em>name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double </td>
          <td class="paramname"><em>val</em> </td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table><table class="python_language"><tr><th colspan="999" style="text-align:left">Python:</th></tr><tr><td style="width: 20px;"></td><td>None</td><td>=</td><td>cv.FileStorage.write(</td><td class="paramname">name, val</td><td>)</td></tr></table>
</div><div class="memdoc">
<p>This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. </p>
</div>
</div>
<a id="a0466680193c966dbeef4e508aebfe8aa"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0466680193c966dbeef4e508aebfe8aa">◆ </a></span>write() <span class="overload">[3/5]</span></h2>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void cv::FileStorage::write </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">String</a> &amp; </td>
          <td class="paramname"><em>name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">String</a> &amp; </td>
          <td class="paramname"><em>val</em> </td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table><table class="python_language"><tr><th colspan="999" style="text-align:left">Python:</th></tr><tr><td style="width: 20px;"></td><td>None</td><td>=</td><td>cv.FileStorage.write(</td><td class="paramname">name, val</td><td>)</td></tr></table>
</div><div class="memdoc">
<p>This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. </p>
</div>
</div>
<a id="a5335e0f3caa5d44d79edcafcbc0091d8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5335e0f3caa5d44d79edcafcbc0091d8">◆ </a></span>write() <span class="overload">[4/5]</span></h2>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void cv::FileStorage::write </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">String</a> &amp; </td>
          <td class="paramname"><em>name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="../../d3/d63/classcv_1_1Mat.html">Mat</a> &amp; </td>
          <td class="paramname"><em>val</em> </td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table><table class="python_language"><tr><th colspan="999" style="text-align:left">Python:</th></tr><tr><td style="width: 20px;"></td><td>None</td><td>=</td><td>cv.FileStorage.write(</td><td class="paramname">name, val</td><td>)</td></tr></table>
</div><div class="memdoc">
<p>This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. </p>
</div>
</div>
<a id="a9d9ee20427f73c94ee89ce893831614a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9d9ee20427f73c94ee89ce893831614a">◆ </a></span>write() <span class="overload">[5/5]</span></h2>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void cv::FileStorage::write </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">String</a> &amp; </td>
          <td class="paramname"><em>name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const std::vector&lt; <a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">String</a> &gt; &amp; </td>
          <td class="paramname"><em>val</em> </td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table><table class="python_language"><tr><th colspan="999" style="text-align:left">Python:</th></tr><tr><td style="width: 20px;"></td><td>None</td><td>=</td><td>cv.FileStorage.write(</td><td class="paramname">name, val</td><td>)</td></tr></table>
</div><div class="memdoc">
<p>This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. </p>
</div>
</div>
<a id="a143eb62cf2c063095c005c0ac77a8823"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a143eb62cf2c063095c005c0ac77a8823">◆ </a></span>writeComment()</h2>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void cv::FileStorage::writeComment </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">String</a> &amp; </td>
          <td class="paramname"><em>comment</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool </td>
          <td class="paramname"><em>append</em> = <code>false</code> </td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table><table class="python_language"><tr><th colspan="999" style="text-align:left">Python:</th></tr><tr><td style="width: 20px;"></td><td>None</td><td>=</td><td>cv.FileStorage.writeComment(</td><td class="paramname">comment[, append]</td><td>)</td></tr></table>
</div><div class="memdoc">
<p>Writes a comment. </p>
<p>The function writes a comment into file storage. The comments are skipped when the storage is read. </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">comment</td><td>The written comment, single-line or multi-line </td></tr>
    <tr><td class="paramname">append</td><td>If true, the function tries to put the comment at the end of current line. Else if the comment is multi-line, or if it does not fit at the end of the current line, the comment starts a new line. </td></tr>
  </table>
  </dd>
</dl>
</div>
</div>
<a id="a513583eecda2e5e3c3b26e328448c123"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a513583eecda2e5e3c3b26e328448c123">◆ </a></span>writeRaw()</h2>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void cv::FileStorage::writeRaw </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">String</a> &amp; </td>
          <td class="paramname"><em>fmt</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const void * </td>
          <td class="paramname"><em>vec</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">size_t </td>
          <td class="paramname"><em>len</em> </td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Writes multiple numbers. </p>
<p>Writes one or more numbers of the specified format to the currently written structure. Usually it is more convenient to use operator <code>&lt;&lt;</code> instead of this method. </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">fmt</td><td>Specification of each array element, see <a class="el" href="../../d4/da4/group__core__xml.html#format_spec">format specification</a> </td></tr>
    <tr><td class="paramname">vec</td><td>Pointer to the written array. </td></tr>
    <tr><td class="paramname">len</td><td>Number of the uchar elements to write. </td></tr>
  </table>
  </dd>
</dl>
</div>
</div>
<h2 class="groupheader">Friends And Related Function Documentation</h2>
<a id="a5d64e1a22e8e659de99a027f66bf26bc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5d64e1a22e8e659de99a027f66bf26bc">◆ </a></span>operator&lt;&lt;() <span class="overload">[1/4]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../da/d56/classcv_1_1FileStorage.html">FileStorage</a> &amp; operator&lt;&lt; </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="../../da/d56/classcv_1_1FileStorage.html">FileStorage</a> &amp; </td>
          <td class="paramname"><em>fs</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">String</a> &amp; </td>
          <td class="paramname"><em>str</em> </td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">related</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Writes string to a file storage. </p>
</div>
</div>
<a id="a84431fd1b5075275f5c3407dc58b36ae"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a84431fd1b5075275f5c3407dc58b36ae">◆ </a></span>operator&lt;&lt;() <span class="overload">[2/4]</span></h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename _Tp &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="../../da/d56/classcv_1_1FileStorage.html">FileStorage</a> &amp; operator&lt;&lt; </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="../../da/d56/classcv_1_1FileStorage.html">FileStorage</a> &amp; </td>
          <td class="paramname"><em>fs</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const _Tp &amp; </td>
          <td class="paramname"><em>value</em> </td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">related</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Writes data to a file storage. </p>
</div>
</div>
<a id="acdfed1145ad6cc92e20975596c7b8bed"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acdfed1145ad6cc92e20975596c7b8bed">◆ </a></span>operator&lt;&lt;() <span class="overload">[3/4]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="../../da/d56/classcv_1_1FileStorage.html">FileStorage</a> &amp; operator&lt;&lt; </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="../../da/d56/classcv_1_1FileStorage.html">FileStorage</a> &amp; </td>
          <td class="paramname"><em>fs</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char * </td>
          <td class="paramname"><em>str</em> </td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">related</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Writes data to a file storage. </p>
</div>
</div>
<a id="ae1a501b3d13d8fd3de1b7299926a02cd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae1a501b3d13d8fd3de1b7299926a02cd">◆ </a></span>operator&lt;&lt;() <span class="overload">[4/4]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="../../da/d56/classcv_1_1FileStorage.html">FileStorage</a> &amp; operator&lt;&lt; </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="../../da/d56/classcv_1_1FileStorage.html">FileStorage</a> &amp; </td>
          <td class="paramname"><em>fs</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">char * </td>
          <td class="paramname"><em>value</em> </td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">related</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Writes data to a file storage. </p>
</div>
</div>
<a id="a26447446dd3fa0644684a045e16399fe"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a26447446dd3fa0644684a045e16399fe">◆ </a></span>write() <span class="overload">[1/35]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void write </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="../../da/d56/classcv_1_1FileStorage.html">FileStorage</a> &amp; </td>
          <td class="paramname"><em>fs</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">String</a> &amp; </td>
          <td class="paramname"><em>name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int </td>
          <td class="paramname"><em>value</em> </td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">related</span></span>  </td>
  </tr>
</table><table class="python_language"><tr><th colspan="999" style="text-align:left">Python:</th></tr><tr><td style="width: 20px;"></td><td>None</td><td>=</td><td>cv.FileStorage.write(</td><td class="paramname">name, val</td><td>)</td></tr></table>
</div><div class="memdoc">
</div>
</div>
<a id="aebc12a5356bcba8393d9f1fbf901065b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aebc12a5356bcba8393d9f1fbf901065b">◆ </a></span>write() <span class="overload">[2/35]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void write </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="../../da/d56/classcv_1_1FileStorage.html">FileStorage</a> &amp; </td>
          <td class="paramname"><em>fs</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">String</a> &amp; </td>
          <td class="paramname"><em>name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float </td>
          <td class="paramname"><em>value</em> </td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">related</span></span>  </td>
  </tr>
</table><table class="python_language"><tr><th colspan="999" style="text-align:left">Python:</th></tr><tr><td style="width: 20px;"></td><td>None</td><td>=</td><td>cv.FileStorage.write(</td><td class="paramname">name, val</td><td>)</td></tr></table>
</div><div class="memdoc">
</div>
</div>
<a id="a598e853f2001864e2c709d7726ad29b7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a598e853f2001864e2c709d7726ad29b7">◆ </a></span>write() <span class="overload">[3/35]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void write </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="../../da/d56/classcv_1_1FileStorage.html">FileStorage</a> &amp; </td>
          <td class="paramname"><em>fs</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">String</a> &amp; </td>
          <td class="paramname"><em>name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double </td>
          <td class="paramname"><em>value</em> </td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">related</span></span>  </td>
  </tr>
</table><table class="python_language"><tr><th colspan="999" style="text-align:left">Python:</th></tr><tr><td style="width: 20px;"></td><td>None</td><td>=</td><td>cv.FileStorage.write(</td><td class="paramname">name, val</td><td>)</td></tr></table>
</div><div class="memdoc">
</div>
</div>
<a id="a63a75e0be408d41f9dea527a1c960286"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a63a75e0be408d41f9dea527a1c960286">◆ </a></span>write() <span class="overload">[4/35]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void write </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="../../da/d56/classcv_1_1FileStorage.html">FileStorage</a> &amp; </td>
          <td class="paramname"><em>fs</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">String</a> &amp; </td>
          <td class="paramname"><em>name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">String</a> &amp; </td>
          <td class="paramname"><em>value</em> </td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">related</span></span>  </td>
  </tr>
</table><table class="python_language"><tr><th colspan="999" style="text-align:left">Python:</th></tr><tr><td style="width: 20px;"></td><td>None</td><td>=</td><td>cv.FileStorage.write(</td><td class="paramname">name, val</td><td>)</td></tr></table>
</div><div class="memdoc">
</div>
</div>
<a id="a403766cfd06a4c7fc56f3a6187fabc35"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a403766cfd06a4c7fc56f3a6187fabc35">◆ </a></span>write() <span class="overload">[5/35]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void write </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="../../da/d56/classcv_1_1FileStorage.html">FileStorage</a> &amp; </td>
          <td class="paramname"><em>fs</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">String</a> &amp; </td>
          <td class="paramname"><em>name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="../../d3/d63/classcv_1_1Mat.html">Mat</a> &amp; </td>
          <td class="paramname"><em>value</em> </td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">related</span></span>  </td>
  </tr>
</table><table class="python_language"><tr><th colspan="999" style="text-align:left">Python:</th></tr><tr><td style="width: 20px;"></td><td>None</td><td>=</td><td>cv.FileStorage.write(</td><td class="paramname">name, val</td><td>)</td></tr></table>
</div><div class="memdoc">
</div>
</div>
<a id="a9d8021889a9984dee8c7913fde569cff"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9d8021889a9984dee8c7913fde569cff">◆ </a></span>write() <span class="overload">[6/35]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void write </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="../../da/d56/classcv_1_1FileStorage.html">FileStorage</a> &amp; </td>
          <td class="paramname"><em>fs</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">String</a> &amp; </td>
          <td class="paramname"><em>name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="../../dd/da9/classcv_1_1SparseMat.html">SparseMat</a> &amp; </td>
          <td class="paramname"><em>value</em> </td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">related</span></span>  </td>
  </tr>
</table><table class="python_language"><tr><th colspan="999" style="text-align:left">Python:</th></tr><tr><td style="width: 20px;"></td><td>None</td><td>=</td><td>cv.FileStorage.write(</td><td class="paramname">name, val</td><td>)</td></tr></table>
</div><div class="memdoc">
</div>
</div>
<a id="a24430b807ccd2cf002058961cd2e3263"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a24430b807ccd2cf002058961cd2e3263">◆ </a></span>write() <span class="overload">[7/35]</span></h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename _Tp &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void write </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="../../da/d56/classcv_1_1FileStorage.html">FileStorage</a> &amp; </td>
          <td class="paramname"><em>fs</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const _Tp &amp; </td>
          <td class="paramname"><em>value</em> </td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">related</span></span>  </td>
  </tr>
</table><table class="python_language"><tr><th colspan="999" style="text-align:left">Python:</th></tr><tr><td style="width: 20px;"></td><td>None</td><td>=</td><td>cv.FileStorage.write(</td><td class="paramname">name, val</td><td>)</td></tr></table>
</div><div class="memdoc">
</div>
</div>
<a id="a9588e05768869430821699ae6b1eb28d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9588e05768869430821699ae6b1eb28d">◆ </a></span>write() <span class="overload">[8/35]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void write </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="../../da/d56/classcv_1_1FileStorage.html">FileStorage</a> &amp; </td>
          <td class="paramname"><em>fs</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const int &amp; </td>
          <td class="paramname"><em>value</em> </td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">related</span></span>  </td>
  </tr>
</table><table class="python_language"><tr><th colspan="999" style="text-align:left">Python:</th></tr><tr><td style="width: 20px;"></td><td>None</td><td>=</td><td>cv.FileStorage.write(</td><td class="paramname">name, val</td><td>)</td></tr></table>
</div><div class="memdoc">
</div>
</div>
<a id="ac229241c6dd16bb343de5aeee197db03"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac229241c6dd16bb343de5aeee197db03">◆ </a></span>write() <span class="overload">[9/35]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void write </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="../../da/d56/classcv_1_1FileStorage.html">FileStorage</a> &amp; </td>
          <td class="paramname"><em>fs</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const float &amp; </td>
          <td class="paramname"><em>value</em> </td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">related</span></span>  </td>
  </tr>
</table><table class="python_language"><tr><th colspan="999" style="text-align:left">Python:</th></tr><tr><td style="width: 20px;"></td><td>None</td><td>=</td><td>cv.FileStorage.write(</td><td class="paramname">name, val</td><td>)</td></tr></table>
</div><div class="memdoc">
</div>
</div>
<a id="aa0e3cc864beb06182c8c2826a8d0cdb8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa0e3cc864beb06182c8c2826a8d0cdb8">◆ </a></span>write() <span class="overload">[10/35]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void write </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="../../da/d56/classcv_1_1FileStorage.html">FileStorage</a> &amp; </td>
          <td class="paramname"><em>fs</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const double &amp; </td>
          <td class="paramname"><em>value</em> </td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">related</span></span>  </td>
  </tr>
</table><table class="python_language"><tr><th colspan="999" style="text-align:left">Python:</th></tr><tr><td style="width: 20px;"></td><td>None</td><td>=</td><td>cv.FileStorage.write(</td><td class="paramname">name, val</td><td>)</td></tr></table>
</div><div class="memdoc">
</div>
</div>
<a id="a058d1227fa81fbf9ffc926d1a2485f3d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a058d1227fa81fbf9ffc926d1a2485f3d">◆ </a></span>write() <span class="overload">[11/35]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void write </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="../../da/d56/classcv_1_1FileStorage.html">FileStorage</a> &amp; </td>
          <td class="paramname"><em>fs</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">String</a> &amp; </td>
          <td class="paramname"><em>value</em> </td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">related</span></span>  </td>
  </tr>
</table><table class="python_language"><tr><th colspan="999" style="text-align:left">Python:</th></tr><tr><td style="width: 20px;"></td><td>None</td><td>=</td><td>cv.FileStorage.write(</td><td class="paramname">name, val</td><td>)</td></tr></table>
</div><div class="memdoc">
</div>
</div>
<a id="aa627e4c875c46d7830fb6d0ac1431e00"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa627e4c875c46d7830fb6d0ac1431e00">◆ </a></span>write() <span class="overload">[12/35]</span></h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename _Tp &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void write </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="../../da/d56/classcv_1_1FileStorage.html">FileStorage</a> &amp; </td>
          <td class="paramname"><em>fs</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="../../db/d4e/classcv_1_1Point__.html">Point_</a>&lt; _Tp &gt; &amp; </td>
          <td class="paramname"><em>pt</em> </td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">related</span></span>  </td>
  </tr>
</table><table class="python_language"><tr><th colspan="999" style="text-align:left">Python:</th></tr><tr><td style="width: 20px;"></td><td>None</td><td>=</td><td>cv.FileStorage.write(</td><td class="paramname">name, val</td><td>)</td></tr></table>
</div><div class="memdoc">
</div>
</div>
<a id="ad2ecdf5485d88536eb7c97662a428a4e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad2ecdf5485d88536eb7c97662a428a4e">◆ </a></span>write() <span class="overload">[13/35]</span></h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename _Tp &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void write </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="../../da/d56/classcv_1_1FileStorage.html">FileStorage</a> &amp; </td>
          <td class="paramname"><em>fs</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="../../df/d6c/classcv_1_1Point3__.html">Point3_</a>&lt; _Tp &gt; &amp; </td>
          <td class="paramname"><em>pt</em> </td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">related</span></span>  </td>
  </tr>
</table><table class="python_language"><tr><th colspan="999" style="text-align:left">Python:</th></tr><tr><td style="width: 20px;"></td><td>None</td><td>=</td><td>cv.FileStorage.write(</td><td class="paramname">name, val</td><td>)</td></tr></table>
</div><div class="memdoc">
</div>
</div>
<a id="a9700290bb5ec6b5c890bc0d251855f61"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9700290bb5ec6b5c890bc0d251855f61">◆ </a></span>write() <span class="overload">[14/35]</span></h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename _Tp &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void write </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="../../da/d56/classcv_1_1FileStorage.html">FileStorage</a> &amp; </td>
          <td class="paramname"><em>fs</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="../../d6/d50/classcv_1_1Size__.html">Size_</a>&lt; _Tp &gt; &amp; </td>
          <td class="paramname"><em>sz</em> </td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">related</span></span>  </td>
  </tr>
</table><table class="python_language"><tr><th colspan="999" style="text-align:left">Python:</th></tr><tr><td style="width: 20px;"></td><td>None</td><td>=</td><td>cv.FileStorage.write(</td><td class="paramname">name, val</td><td>)</td></tr></table>
</div><div class="memdoc">
</div>
</div>
<a id="a843319acfe360410e8cfcff1749aa5b0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a843319acfe360410e8cfcff1749aa5b0">◆ </a></span>write() <span class="overload">[15/35]</span></h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename _Tp &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void write </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="../../da/d56/classcv_1_1FileStorage.html">FileStorage</a> &amp; </td>
          <td class="paramname"><em>fs</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="../../da/df6/classcv_1_1Complex.html">Complex</a>&lt; _Tp &gt; &amp; </td>
          <td class="paramname"><em>c</em> </td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">related</span></span>  </td>
  </tr>
</table><table class="python_language"><tr><th colspan="999" style="text-align:left">Python:</th></tr><tr><td style="width: 20px;"></td><td>None</td><td>=</td><td>cv.FileStorage.write(</td><td class="paramname">name, val</td><td>)</td></tr></table>
</div><div class="memdoc">
</div>
</div>
<a id="abff24d9b3462a4d368e864b09c62de46"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abff24d9b3462a4d368e864b09c62de46">◆ </a></span>write() <span class="overload">[16/35]</span></h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename _Tp &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void write </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="../../da/d56/classcv_1_1FileStorage.html">FileStorage</a> &amp; </td>
          <td class="paramname"><em>fs</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="../../d2/d44/classcv_1_1Rect__.html">Rect_</a>&lt; _Tp &gt; &amp; </td>
          <td class="paramname"><em>r</em> </td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">related</span></span>  </td>
  </tr>
</table><table class="python_language"><tr><th colspan="999" style="text-align:left">Python:</th></tr><tr><td style="width: 20px;"></td><td>None</td><td>=</td><td>cv.FileStorage.write(</td><td class="paramname">name, val</td><td>)</td></tr></table>
</div><div class="memdoc">
</div>
</div>
<a id="a5d8a4afcb9a84c5705605b6456f0bf4a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5d8a4afcb9a84c5705605b6456f0bf4a">◆ </a></span>write() <span class="overload">[17/35]</span></h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename _Tp , int cn&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void write </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="../../da/d56/classcv_1_1FileStorage.html">FileStorage</a> &amp; </td>
          <td class="paramname"><em>fs</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="../../d6/dcf/classcv_1_1Vec.html">Vec</a>&lt; _Tp, cn &gt; &amp; </td>
          <td class="paramname"><em>v</em> </td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">related</span></span>  </td>
  </tr>
</table><table class="python_language"><tr><th colspan="999" style="text-align:left">Python:</th></tr><tr><td style="width: 20px;"></td><td>None</td><td>=</td><td>cv.FileStorage.write(</td><td class="paramname">name, val</td><td>)</td></tr></table>
</div><div class="memdoc">
</div>
</div>
<a id="afcf3219ea83b2e466f0d9631ea53d7a3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afcf3219ea83b2e466f0d9631ea53d7a3">◆ </a></span>write() <span class="overload">[18/35]</span></h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename _Tp , int m, int n&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void write </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="../../da/d56/classcv_1_1FileStorage.html">FileStorage</a> &amp; </td>
          <td class="paramname"><em>fs</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="../../de/de1/classcv_1_1Matx.html">Matx</a>&lt; _Tp, m, n &gt; &amp; </td>
          <td class="paramname"><em>x</em> </td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">related</span></span>  </td>
  </tr>
</table><table class="python_language"><tr><th colspan="999" style="text-align:left">Python:</th></tr><tr><td style="width: 20px;"></td><td>None</td><td>=</td><td>cv.FileStorage.write(</td><td class="paramname">name, val</td><td>)</td></tr></table>
</div><div class="memdoc">
</div>
</div>
<a id="a54bf874d535dfc61b08fff99e7b5e8ab"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a54bf874d535dfc61b08fff99e7b5e8ab">◆ </a></span>write() <span class="overload">[19/35]</span></h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename _Tp &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void write </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="../../da/d56/classcv_1_1FileStorage.html">FileStorage</a> &amp; </td>
          <td class="paramname"><em>fs</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="../../d1/da0/classcv_1_1Scalar__.html">Scalar_</a>&lt; _Tp &gt; &amp; </td>
          <td class="paramname"><em>s</em> </td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">related</span></span>  </td>
  </tr>
</table><table class="python_language"><tr><th colspan="999" style="text-align:left">Python:</th></tr><tr><td style="width: 20px;"></td><td>None</td><td>=</td><td>cv.FileStorage.write(</td><td class="paramname">name, val</td><td>)</td></tr></table>
</div><div class="memdoc">
</div>
</div>
<a id="acb53272996fd5a25ca077aeb5385a9a3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acb53272996fd5a25ca077aeb5385a9a3">◆ </a></span>write() <span class="overload">[20/35]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void write </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="../../da/d56/classcv_1_1FileStorage.html">FileStorage</a> &amp; </td>
          <td class="paramname"><em>fs</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="../../da/d35/classcv_1_1Range.html">Range</a> &amp; </td>
          <td class="paramname"><em>r</em> </td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">related</span></span>  </td>
  </tr>
</table><table class="python_language"><tr><th colspan="999" style="text-align:left">Python:</th></tr><tr><td style="width: 20px;"></td><td>None</td><td>=</td><td>cv.FileStorage.write(</td><td class="paramname">name, val</td><td>)</td></tr></table>
</div><div class="memdoc">
</div>
</div>
<a id="af710db7aa40918f5429ba8e78622d08f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af710db7aa40918f5429ba8e78622d08f">◆ </a></span>write() <span class="overload">[21/35]</span></h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename _Tp &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void write </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="../../da/d56/classcv_1_1FileStorage.html">FileStorage</a> &amp; </td>
          <td class="paramname"><em>fs</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const std::vector&lt; _Tp &gt; &amp; </td>
          <td class="paramname"><em>vec</em> </td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">related</span></span>  </td>
  </tr>
</table><table class="python_language"><tr><th colspan="999" style="text-align:left">Python:</th></tr><tr><td style="width: 20px;"></td><td>None</td><td>=</td><td>cv.FileStorage.write(</td><td class="paramname">name, val</td><td>)</td></tr></table>
</div><div class="memdoc">
</div>
</div>
<a id="a04c8f9337b9d9821114f951faee80bae"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a04c8f9337b9d9821114f951faee80bae">◆ </a></span>write() <span class="overload">[22/35]</span></h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename _Tp &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void write </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="../../da/d56/classcv_1_1FileStorage.html">FileStorage</a> &amp; </td>
          <td class="paramname"><em>fs</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">String</a> &amp; </td>
          <td class="paramname"><em>name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="../../db/d4e/classcv_1_1Point__.html">Point_</a>&lt; _Tp &gt; &amp; </td>
          <td class="paramname"><em>pt</em> </td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">related</span></span>  </td>
  </tr>
</table><table class="python_language"><tr><th colspan="999" style="text-align:left">Python:</th></tr><tr><td style="width: 20px;"></td><td>None</td><td>=</td><td>cv.FileStorage.write(</td><td class="paramname">name, val</td><td>)</td></tr></table>
</div><div class="memdoc">
</div>
</div>
<a id="a550f8a4931274589cdc5a3796c2eef48"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a550f8a4931274589cdc5a3796c2eef48">◆ </a></span>write() <span class="overload">[23/35]</span></h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename _Tp &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void write </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="../../da/d56/classcv_1_1FileStorage.html">FileStorage</a> &amp; </td>
          <td class="paramname"><em>fs</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">String</a> &amp; </td>
          <td class="paramname"><em>name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="../../df/d6c/classcv_1_1Point3__.html">Point3_</a>&lt; _Tp &gt; &amp; </td>
          <td class="paramname"><em>pt</em> </td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">related</span></span>  </td>
  </tr>
</table><table class="python_language"><tr><th colspan="999" style="text-align:left">Python:</th></tr><tr><td style="width: 20px;"></td><td>None</td><td>=</td><td>cv.FileStorage.write(</td><td class="paramname">name, val</td><td>)</td></tr></table>
</div><div class="memdoc">
</div>
</div>
<a id="a84453625335849d8ec1a0df6c865b0cb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a84453625335849d8ec1a0df6c865b0cb">◆ </a></span>write() <span class="overload">[24/35]</span></h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename _Tp &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void write </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="../../da/d56/classcv_1_1FileStorage.html">FileStorage</a> &amp; </td>
          <td class="paramname"><em>fs</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">String</a> &amp; </td>
          <td class="paramname"><em>name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="../../d6/d50/classcv_1_1Size__.html">Size_</a>&lt; _Tp &gt; &amp; </td>
          <td class="paramname"><em>sz</em> </td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">related</span></span>  </td>
  </tr>
</table><table class="python_language"><tr><th colspan="999" style="text-align:left">Python:</th></tr><tr><td style="width: 20px;"></td><td>None</td><td>=</td><td>cv.FileStorage.write(</td><td class="paramname">name, val</td><td>)</td></tr></table>
</div><div class="memdoc">
</div>
</div>
<a id="ace7fc76da8b2a634a5c83183700f0bbb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ace7fc76da8b2a634a5c83183700f0bbb">◆ </a></span>write() <span class="overload">[25/35]</span></h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename _Tp &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void write </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="../../da/d56/classcv_1_1FileStorage.html">FileStorage</a> &amp; </td>
          <td class="paramname"><em>fs</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">String</a> &amp; </td>
          <td class="paramname"><em>name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="../../da/df6/classcv_1_1Complex.html">Complex</a>&lt; _Tp &gt; &amp; </td>
          <td class="paramname"><em>c</em> </td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">related</span></span>  </td>
  </tr>
</table><table class="python_language"><tr><th colspan="999" style="text-align:left">Python:</th></tr><tr><td style="width: 20px;"></td><td>None</td><td>=</td><td>cv.FileStorage.write(</td><td class="paramname">name, val</td><td>)</td></tr></table>
</div><div class="memdoc">
</div>
</div>
<a id="a43c8a8a86952cff8b062e18c9f3e72cc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a43c8a8a86952cff8b062e18c9f3e72cc">◆ </a></span>write() <span class="overload">[26/35]</span></h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename _Tp &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void write </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="../../da/d56/classcv_1_1FileStorage.html">FileStorage</a> &amp; </td>
          <td class="paramname"><em>fs</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">String</a> &amp; </td>
          <td class="paramname"><em>name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="../../d2/d44/classcv_1_1Rect__.html">Rect_</a>&lt; _Tp &gt; &amp; </td>
          <td class="paramname"><em>r</em> </td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">related</span></span>  </td>
  </tr>
</table><table class="python_language"><tr><th colspan="999" style="text-align:left">Python:</th></tr><tr><td style="width: 20px;"></td><td>None</td><td>=</td><td>cv.FileStorage.write(</td><td class="paramname">name, val</td><td>)</td></tr></table>
</div><div class="memdoc">
</div>
</div>
<a id="a893a9ed023837feb61f7fe804d21cb40"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a893a9ed023837feb61f7fe804d21cb40">◆ </a></span>write() <span class="overload">[27/35]</span></h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename _Tp , int cn&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void write </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="../../da/d56/classcv_1_1FileStorage.html">FileStorage</a> &amp; </td>
          <td class="paramname"><em>fs</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">String</a> &amp; </td>
          <td class="paramname"><em>name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="../../d6/dcf/classcv_1_1Vec.html">Vec</a>&lt; _Tp, cn &gt; &amp; </td>
          <td class="paramname"><em>v</em> </td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">related</span></span>  </td>
  </tr>
</table><table class="python_language"><tr><th colspan="999" style="text-align:left">Python:</th></tr><tr><td style="width: 20px;"></td><td>None</td><td>=</td><td>cv.FileStorage.write(</td><td class="paramname">name, val</td><td>)</td></tr></table>
</div><div class="memdoc">
</div>
</div>
<a id="ae11814668aa0bf1957b8c612eaac033d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae11814668aa0bf1957b8c612eaac033d">◆ </a></span>write() <span class="overload">[28/35]</span></h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename _Tp , int m, int n&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void write </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="../../da/d56/classcv_1_1FileStorage.html">FileStorage</a> &amp; </td>
          <td class="paramname"><em>fs</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">String</a> &amp; </td>
          <td class="paramname"><em>name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="../../de/de1/classcv_1_1Matx.html">Matx</a>&lt; _Tp, m, n &gt; &amp; </td>
          <td class="paramname"><em>x</em> </td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">related</span></span>  </td>
  </tr>
</table><table class="python_language"><tr><th colspan="999" style="text-align:left">Python:</th></tr><tr><td style="width: 20px;"></td><td>None</td><td>=</td><td>cv.FileStorage.write(</td><td class="paramname">name, val</td><td>)</td></tr></table>
</div><div class="memdoc">
</div>
</div>
<a id="a6f13874950203b1bbbe4ec4fee5eb6a1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6f13874950203b1bbbe4ec4fee5eb6a1">◆ </a></span>write() <span class="overload">[29/35]</span></h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename _Tp &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void write </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="../../da/d56/classcv_1_1FileStorage.html">FileStorage</a> &amp; </td>
          <td class="paramname"><em>fs</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">String</a> &amp; </td>
          <td class="paramname"><em>name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="../../d1/da0/classcv_1_1Scalar__.html">Scalar_</a>&lt; _Tp &gt; &amp; </td>
          <td class="paramname"><em>s</em> </td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">related</span></span>  </td>
  </tr>
</table><table class="python_language"><tr><th colspan="999" style="text-align:left">Python:</th></tr><tr><td style="width: 20px;"></td><td>None</td><td>=</td><td>cv.FileStorage.write(</td><td class="paramname">name, val</td><td>)</td></tr></table>
</div><div class="memdoc">
</div>
</div>
<a id="addda29520f80f53e144a5e15b57ec98d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#addda29520f80f53e144a5e15b57ec98d">◆ </a></span>write() <span class="overload">[30/35]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void write </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="../../da/d56/classcv_1_1FileStorage.html">FileStorage</a> &amp; </td>
          <td class="paramname"><em>fs</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">String</a> &amp; </td>
          <td class="paramname"><em>name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="../../da/d35/classcv_1_1Range.html">Range</a> &amp; </td>
          <td class="paramname"><em>r</em> </td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">related</span></span>  </td>
  </tr>
</table><table class="python_language"><tr><th colspan="999" style="text-align:left">Python:</th></tr><tr><td style="width: 20px;"></td><td>None</td><td>=</td><td>cv.FileStorage.write(</td><td class="paramname">name, val</td><td>)</td></tr></table>
</div><div class="memdoc">
</div>
</div>
<a id="a1fcc9cf302523a5ab15f62f77a3bd6dd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1fcc9cf302523a5ab15f62f77a3bd6dd">◆ </a></span>write() <span class="overload">[31/35]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void write </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="../../da/d56/classcv_1_1FileStorage.html">FileStorage</a> &amp; </td>
          <td class="paramname"><em>fs</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">String</a> &amp; </td>
          <td class="paramname"><em>name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="../../d2/d29/classcv_1_1KeyPoint.html">KeyPoint</a> &amp; </td>
          <td class="paramname"><em>kpt</em> </td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">related</span></span>  </td>
  </tr>
</table><table class="python_language"><tr><th colspan="999" style="text-align:left">Python:</th></tr><tr><td style="width: 20px;"></td><td>None</td><td>=</td><td>cv.FileStorage.write(</td><td class="paramname">name, val</td><td>)</td></tr></table>
</div><div class="memdoc">
</div>
</div>
<a id="aa7eda7701e29ddfcba1ce21615113c67"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa7eda7701e29ddfcba1ce21615113c67">◆ </a></span>write() <span class="overload">[32/35]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void write </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="../../da/d56/classcv_1_1FileStorage.html">FileStorage</a> &amp; </td>
          <td class="paramname"><em>fs</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">String</a> &amp; </td>
          <td class="paramname"><em>name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="../../d4/de0/classcv_1_1DMatch.html">DMatch</a> &amp; </td>
          <td class="paramname"><em>m</em> </td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">related</span></span>  </td>
  </tr>
</table><table class="python_language"><tr><th colspan="999" style="text-align:left">Python:</th></tr><tr><td style="width: 20px;"></td><td>None</td><td>=</td><td>cv.FileStorage.write(</td><td class="paramname">name, val</td><td>)</td></tr></table>
</div><div class="memdoc">
</div>
</div>
<a id="ac1f774dd8fb03a6b5207e022d3553f2d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac1f774dd8fb03a6b5207e022d3553f2d">◆ </a></span>write() <span class="overload">[33/35]</span></h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename _Tp , typename std::enable_if&lt; std::is_enum&lt; _Tp &gt;::value &gt;::type *  = nullptr&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void write </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="../../da/d56/classcv_1_1FileStorage.html">FileStorage</a> &amp; </td>
          <td class="paramname"><em>fs</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">String</a> &amp; </td>
          <td class="paramname"><em>name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const _Tp &amp; </td>
          <td class="paramname"><em>val</em> </td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">related</span></span>  </td>
  </tr>
</table><table class="python_language"><tr><th colspan="999" style="text-align:left">Python:</th></tr><tr><td style="width: 20px;"></td><td>None</td><td>=</td><td>cv.FileStorage.write(</td><td class="paramname">name, val</td><td>)</td></tr></table>
</div><div class="memdoc">
</div>
</div>
<a id="a6e3ddba0ac9a82d6f7817f9db1aa2556"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6e3ddba0ac9a82d6f7817f9db1aa2556">◆ </a></span>write() <span class="overload">[34/35]</span></h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename _Tp &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void write </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="../../da/d56/classcv_1_1FileStorage.html">FileStorage</a> &amp; </td>
          <td class="paramname"><em>fs</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">String</a> &amp; </td>
          <td class="paramname"><em>name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const std::vector&lt; _Tp &gt; &amp; </td>
          <td class="paramname"><em>vec</em> </td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">related</span></span>  </td>
  </tr>
</table><table class="python_language"><tr><th colspan="999" style="text-align:left">Python:</th></tr><tr><td style="width: 20px;"></td><td>None</td><td>=</td><td>cv.FileStorage.write(</td><td class="paramname">name, val</td><td>)</td></tr></table>
</div><div class="memdoc">
</div>
</div>
<a id="af9feef3fb24eb47d9a665056977d1183"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af9feef3fb24eb47d9a665056977d1183">◆ </a></span>write() <span class="overload">[35/35]</span></h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename _Tp &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void write </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="../../da/d56/classcv_1_1FileStorage.html">FileStorage</a> &amp; </td>
          <td class="paramname"><em>fs</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">String</a> &amp; </td>
          <td class="paramname"><em>name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const std::vector&lt; std::vector&lt; _Tp &gt; &gt; &amp; </td>
          <td class="paramname"><em>vec</em> </td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">related</span></span>  </td>
  </tr>
</table><table class="python_language"><tr><th colspan="999" style="text-align:left">Python:</th></tr><tr><td style="width: 20px;"></td><td>None</td><td>=</td><td>cv.FileStorage.write(</td><td class="paramname">name, val</td><td>)</td></tr></table>
</div><div class="memdoc">
</div>
</div>
<a id="ae8c1ed7775a9692dd5a04e7b9c257332"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae8c1ed7775a9692dd5a04e7b9c257332">◆ </a></span>writeScalar() <span class="overload">[1/4]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void writeScalar </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="../../da/d56/classcv_1_1FileStorage.html">FileStorage</a> &amp; </td>
          <td class="paramname"><em>fs</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int </td>
          <td class="paramname"><em>value</em> </td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">related</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="ad3dab4054c2a10a45238fd10d11f280e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad3dab4054c2a10a45238fd10d11f280e">◆ </a></span>writeScalar() <span class="overload">[2/4]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void writeScalar </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="../../da/d56/classcv_1_1FileStorage.html">FileStorage</a> &amp; </td>
          <td class="paramname"><em>fs</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float </td>
          <td class="paramname"><em>value</em> </td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">related</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="ac4ec3e0ff8321cd7a2b312e275d1b7ba"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac4ec3e0ff8321cd7a2b312e275d1b7ba">◆ </a></span>writeScalar() <span class="overload">[3/4]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void writeScalar </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="../../da/d56/classcv_1_1FileStorage.html">FileStorage</a> &amp; </td>
          <td class="paramname"><em>fs</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double </td>
          <td class="paramname"><em>value</em> </td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">related</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="a2a8da1ead8d174f9244b5e8593ebd1d8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2a8da1ead8d174f9244b5e8593ebd1d8">◆ </a></span>writeScalar() <span class="overload">[4/4]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void writeScalar </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="../../da/d56/classcv_1_1FileStorage.html">FileStorage</a> &amp; </td>
          <td class="paramname"><em>fs</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">String</a> &amp; </td>
          <td class="paramname"><em>value</em> </td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">related</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a id="ae2c1bb9453394d0c8a5f07514eccf94b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae2c1bb9453394d0c8a5f07514eccf94b">◆ </a></span>elname</h2>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">std::string cv::FileStorage::elname</td>
        </tr>
      </table>
</div><div class="memdoc">
</div>
</div>
<a id="af263d52c8a81f77e839385e1f6ec1e41"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af263d52c8a81f77e839385e1f6ec1e41">◆ </a></span>p</h2>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../dc/d84/group__core__basic.html#ga6395ca871a678020c4a31fadf7e8cc63">Ptr</a>&lt;Impl&gt; cv::FileStorage::p</td>
        </tr>
      </table>
</div><div class="memdoc">
</div>
</div>
<a id="aa53ac52fa536aeabba795a2164a11337"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa53ac52fa536aeabba795a2164a11337">◆ </a></span>state</h2>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int cv::FileStorage::state</td>
        </tr>
      </table>
</div><div class="memdoc">
</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>opencv2/core/<a class="el" href="../../d8/d14/persistence_8hpp.html">persistence.hpp</a></li>
</ul>
</div><!-- contents -->
<!-- HTML footer for doxygen 1.8.6-->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Fri Apr 2 2021 11:36:42 for OpenCV by  <a href="http://www.doxygen.org/index.html">
<img alt="doxygen" class="footer" src="../../doxygen.png"/>
</a> 1.8.13
</small></address>
<script type="text/javascript">
//<![CDATA[
addTutorialsButtons();
//]]>
</script>
</body>
</html>
